Author: bugman Date: Mon Mar 19 06:25:57 2007 New Revision: 3231 URL: http://svn.gna.org/viewcvs/relax?rev=3231&view=rev Log: Updated the data model redesign document. The spin_loop() generator function and selection syntax parsing functions tokenise() and parse_token() are now implemented. Modified: 1.3/docs/data_model_redesign Modified: 1.3/docs/data_model_redesign URL: http://svn.gna.org/viewcvs/relax/1.3/docs/data_model_redesign?rev=3231&r1=3230&r2=3231&view=diff ============================================================================== --- 1.3/docs/data_model_redesign (original) +++ 1.3/docs/data_model_redesign Mon Mar 19 06:25:57 2007 @@ -34,16 +34,16 @@ 3. Create the data pipe looping function for the 'pipes' argument (Chris MacRaild, https://mail.gna.org/public/relax-devel/2006-10/msg00060.html, Message-id: <1160562239.14487.98.camel@mrspell>). The user functions could be implemented as functors (Chris MacRaild, https://mail.gna.org/public/relax-devel/2007-01/msg00020.html, Message-ID: <1168432131.7569.338.camel@mrspell>). The design will need to take into account the user function docstrings, relax help system, and the relax manual docstring fetching code. -4. Create the spin_loop function (Edward d'Auvergne, https://mail.gna.org/public/relax-devel/2006-10/msg00057.html, Message-id: <1160557041.9523.74.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>). Use a generator function, using the yield statement, to return the spin data containers which are essentially pointers to the data (Gary Thompson, https://mail.gna.org/public/relax-devel/2007-01/msg00014.html, Message-id: <f001463a0701071417w6bd7927cp8fdd052e698575ec@xxxxxxxxxxxxxx>). The implementation was essentially given by Chris MacRaild at https://mail.gna.org/public/relax-devel/2007-01/msg00036.html (Message-ID: <1168883717.7569.511.camel@mrspell>). +4 [Done]. Create the spin_loop function (Edward d'Auvergne, https://mail.gna.org/public/relax-devel/2006-10/msg00057.html, Message-id: <1160557041.9523.74.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>). Use a generator function, using the yield statement, to return the spin data containers which are essentially pointers to the data (Gary Thompson, https://mail.gna.org/public/relax-devel/2007-01/msg00014.html, Message-id: <f001463a0701071417w6bd7927cp8fdd052e698575ec@xxxxxxxxxxxxxx>). The implementation was essentially given by Chris MacRaild at https://mail.gna.org/public/relax-devel/2007-01/msg00036.html (Message-ID: <1168883717.7569.511.camel@mrspell>). -5. Implement a parser for the following molecule/residue/spin selection syntax (Gary Thompson, https://mail.gna.org/public/relax-devel/2007-01/msg00014.html, Message-id: <f001463a0701071417w6bd7927cp8fdd052e698575ec@xxxxxxxxxxxxxx>): +5 [Done]. Implement a parser for the following molecule/residue/spin selection syntax (Gary Thompson, https://mail.gna.org/public/relax-devel/2007-01/msg00014.html, Message-id: <f001463a0701071417w6bd7927cp8fdd052e698575ec@xxxxxxxxxxxxxx>): #<molecule number> | <molecule_name>:<residue_selection>[,<residue_selection>...]@<atom_selection> [,<atom_selection>] residue_selection=<residue_number> | <residue_range> | <residue_type> residue_selection=<residue_number>-<residue_number> atom_selection=<string_and_wildcards> This syntax will need to be properly referenced (in addition to being fully described) in the user function docstrings. I.e. the reference for Molmol syntax, the reference for UCSF syntax, etc. We need to find the source and name of the syntax. -6. Convert the methods of the class 'Selection' from the file 'generic_fns/selection.py' into methods and then add the following functions (Chris MacRaild at https://mail.gna.org/public/relax-devel/2007-01/msg00036.html Message-ID: <1168883717.7569.511.camel@mrspell>; Edward d'Auvergne, https://mail.gna.org/public/relax-devel/2007-01/msg00041.html, Message-ID: <7f080ed10701190408i8a5dee3y8ccbe1aba11bcba@xxxxxxxxxxxxxx>): +6 [Done]. Convert the methods of the class 'Selection' from the file 'generic_fns/selection.py' into methods and then add the following functions (Chris MacRaild at https://mail.gna.org/public/relax-devel/2007-01/msg00036.html Message-ID: <1168883717.7569.511.camel@mrspell>; Edward d'Auvergne, https://mail.gna.org/public/relax-devel/2007-01/msg00041.html, Message-ID: <7f080ed10701190408i8a5dee3y8ccbe1aba11bcba@xxxxxxxxxxxxxx>): parse_token() tokenise()