[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 <firstname.lastname@example.org>
- Subject: Re: [ddlm-group] Interactions with methods
- From: David Brown <email@example.com>
- Date: Mon, 14 Sep 2009 11:57:40 -0400
- In-Reply-To: <C6D132B3.11DA9firstname.lastname@example.org>
- References: <C6D132B3.11DA9email@example.com>
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" <firstname.lastname@example.org> 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 email@example.com 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:firstname.lastname@example.org title:Professor Emeritus tel;work:+905 525 9140 x 24710 tel;fax:+905 521 2773 version:2.1 end:vcard
_______________________________________________ ddlm-group mailing list email@example.com http://scripts.iucr.org/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- Re: [ddlm-group] Interactions with methods (Nick Spadaccini)