mailr5884 - /1.3/generic_fns/structure/scientific.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on April 20, 2008 - 23:53:
Author: bugman
Date: Sun Apr 20 23:53:22 2008
New Revision: 5884

URL: http://svn.gna.org/viewcvs/relax?rev=5884&view=rev
Log:
Modified the Scientific_data.atom_loop() method to call the non-existent 
Selection.contains_spin().


Modified:
    1.3/generic_fns/structure/scientific.py

Modified: 1.3/generic_fns/structure/scientific.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/scientific.py?rev=5884&r1=5883&r2=5884&view=diff
==============================================================================
--- 1.3/generic_fns/structure/scientific.py (original)
+++ 1.3/generic_fns/structure/scientific.py Sun Apr 20 23:53:22 2008
@@ -201,7 +201,7 @@
                         pos = atom.position.array
 
                         # Skip non-matching atoms.
-                        if atom_token and not (wildcard_match(atom_name, 
atoms) or atom_num in atoms):
+                        if sel_obj and not sel_obj.contains_spin(atom_num, 
atom_name, res_num, res_name, mol_name):
                             continue
 
                         # Build the tuple to be yielded.




Related Messages


Powered by MHonArc, Updated Mon Apr 21 00:00:21 2008