Menu

Commit [r5727]  Maximize  Restore  History

Merged revisions 5711,5713-5725 via svnmerge from

svn+ssh://bugman@.../svn/relax/branches/spin_loop_bool

........
r5711 | bugman | 2008-04-14 21:20:26 +0200 (Mon, 14 Apr 2008) | 12 lines

Ok, lets try this again! Created a branch for some nasty breakages and testing new ideas.

The command used was:
svn cp svn+ssh://bugman@.../svn/relax/1.3 svn+ssh://bugman@.../svn/relax/branches/spin_loop_bool

The spin_loop and its siblings cannot currently handle the branching tree formed by the Selection
object (nested within Selection._union and Selection._intersect). For example if there are two
molecules loaded into the data store, 'Ap4Aase' and 'RNA', the spin_loop with the spin id string
'#Ap4Aase:Glu | #RNA@...' loops over all spins of both molecules!!! Therefore all the usages of the
Selection object need to be redesigned, and possibly the Selection object itself.
........
r5713 | bugman | 2008-04-14 21:26:08 +0200 (Mon, 14 Apr 2008) | 3 lines

Modified the spin_loop to check the tuple of (mol, res, spin) against the selection object.
........
r5714 | bugman | 2008-04-14 21:49:20 +0200 (Mon, 14 Apr 2008) | 5 lines

Redesigned the selection object method Selection.__contains__().

Now multiple MoleculeContainer, ResidueContainer, or SpinContainer instances can be compared.
........
r5715 | bugman | 2008-04-14 21:54:34 +0200 (Mon, 14 Apr 2008) | 3 lines

Some fixes for the Selection.__contains__() method.
........
r5716 | bugman | 2008-04-14 21:59:10 +0200 (Mon, 14 Apr 2008) | 3 lines

Changed the spin_index_loop() function to use the same form as spin_loop().
........
r5717 | bugman | 2008-04-14 22:00:39 +0200 (Mon, 14 Apr 2008) | 3 lines

Updated the residue_loop() function.
........
r5718 | bugman | 2008-04-14 22:03:08 +0200 (Mon, 14 Apr 2008) | 3 lines

Updated all the other comparisons to the selection object.
........
r5719 | bugman | 2008-04-14 22:17:11 +0200 (Mon, 14 Apr 2008) | 3 lines

The Selection.__contains__() method now is complete and all the relevant unit tests pass again.
........
r5720 | bugman | 2008-04-14 22:22:08 +0200 (Mon, 14 Apr 2008) | 3 lines

Small docstring updates.
........

bugman 2008-04-14

changed /1.3
changed /1.3/generic_fns/selection.py
/1.3
Directory.
/1.3/generic_fns/selection.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.