mailr6238 - /1.3/generic_fns/selection.py


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

Header


Content

Posted by edward on May 22, 2008 - 12:26:
Author: bugman
Date: Thu May 22 12:26:04 2008
New Revision: 6238

URL: http://svn.gna.org/viewcvs/relax?rev=6238&view=rev
Log:
Another fix for the sel_read() function.


Modified:
    1.3/generic_fns/selection.py

Modified: 1.3/generic_fns/selection.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/selection.py?rev=6238&r1=6237&r2=6238&view=diff
==============================================================================
--- 1.3/generic_fns/selection.py (original)
+++ 1.3/generic_fns/selection.py Thu May 22 12:26:04 2008
@@ -292,7 +292,8 @@
     # Loop over all spins.
     for spin, mol_name, res_num, res_name in spin_loop(full_info=True):
         # Skip spins not the file.
-        if not spin_in_list(file_data, mol_name_col=mol_name_col, 
res_num_col=res_num_col, res_name_col=res_name_col, 
spin_num_col=spin_num_col, spin_name_col=spin_name_col, mol_name=mol_name, 
res_num=res_num, res_name=res_name, spin_num=spin.num, spin_name=spin.name)
+        if not spin_in_list(file_data, mol_name_col=mol_name_col, 
res_num_col=res_num_col, res_name_col=res_name_col, 
spin_num_col=spin_num_col, spin_name_col=spin_name_col, mol_name=mol_name, 
res_num=res_num, res_name=res_name, spin_num=spin.num, spin_name=spin.name):
+            continue
 
         # Select just the specified residues.
         if change_all:




Related Messages


Powered by MHonArc, Updated Thu May 22 12:40:16 2008