[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
Re: [ddlm-group] Interactions with methods
- To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
- Subject: Re: [ddlm-group] Interactions with methods
- From: David Brown <idbrown@mcmaster.ca>
- Date: Mon, 14 Sep 2009 11:57:40 -0400
- In-Reply-To: <C6D132B3.11DA9%nick@csse.uwa.edu.au>
- References: <C6D132B3.11DA9%nick@csse.uwa.edu.au>
Nick Spadaccini wrote: I will introduce an item into the methods loops of the CIFm dictionaries as follows:On 11/09/09 10:39 PM, "David Brown" <idbrown@mcmaster.ca> wrote:I am glad that this point is made clear as it colours my thinking when preparing the dictionary. I am glad to have some guidelines to decide which methods should be included. I still wonder, though, whether it would be useful to include in the methods loop an item _methods_description which would be a short text description that could be used by an application to log the progress of a calculation. The problem is that the applcation has no way of knowing what it is calculating apart from the dataname of the object it is attempting to calculate. This could be picked up by the application to produce a message such as : 'Unable to calculate _refln.F_squared_calc using _refln.F_calc' This might be satisfactory for trouble shooting, but if the writer of the application wanted to put out a more user-friendly message, he might prefer to have available a description such as:Two ways. Comments within the dREL code, or a separate description data item. Probably both in real day to day use. # _method.description 'descriptive text...' When the item _method.description becomes an approved DDLm dataname I will remove the # Printing the dREL code would be OK for trouble shooting, but would not be particlarly friendly for, say, an interactive message to a user unfamilier with the dictionaries and dREL constructs. However, the writer of the application can decide which information is best for a particular output.'Calculation of F(calc)^2 from F(calc) failed' using the item _methods_description 'Calculation of F(calc)^2 from F(calc)' This does not affect the structure of DDLm or the dictionaries, but does give the writer of an application another handle.Easy to do. That would just be a print statement from within the dREL code that calculates Fc^2 from Fc. cheers Nick -------------------------------- Associate Professor N. Spadaccini, PhD School of Computer Science & Software Engineering The University of Western Australia t: +61 (0)8 6488 3452 35 Stirling Highway f: +61 (0)8 6488 1089 CRAWLEY, Perth, WA 6009 AUSTRALIA w3: www.csse.uwa.edu.au/~nick MBDP M002 CRICOS Provider Code: 00126G e: Nick.Spadaccini@uwa.edu.au _______________________________________________ ddlm-group mailing list ddlm-group@iucr.org http://scripts.iucr.org/mailman/listinfo/ddlm-group |
begin:vcard fn:I.David Brown n:Brown;I.David org:McMaster University;Brockhouse Institute for Materials Research adr:;;King St. W;Hamilton;Ontario;L8S 4M1;Canada email;internet:idbrown@mcmaster.ca title:Professor Emeritus tel;work:+905 525 9140 x 24710 tel;fax:+905 521 2773 version:2.1 end:vcard
_______________________________________________ ddlm-group mailing list ddlm-group@iucr.org http://scripts.iucr.org/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- References:
- Re: [ddlm-group] Interactions with methods (Nick Spadaccini)
- Prev by Date: Re: [ddlm-group] THREAD TRIPLE QUOTES - Specification
- Next by Date: [ddlm-group] THREAD 2: token delimiters
- Prev by thread: Re: [ddlm-group] Interactions with methods
- Next by thread: [ddlm-group] Test message
- Index(es):