mailr11817 - /1.3/generic_fns/mol_res_spin.py


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

Header


Content

Posted by edward on December 14, 2010 - 18:22:
Author: bugman
Date: Tue Dec 14 18:22:33 2010
New Revision: 11817

URL: http://svn.gna.org/viewcvs/relax?rev=11817&view=rev
Log:
Removed some checks in the generic_fns.mol_res_spin.molecule_loop() function 
which was triggering bugs.

The old checking code is of no use, as all types of molecule IDs should be 
accepted!  This only
recently became an issue for some unknown reason?!?!


Modified:
    1.3/generic_fns/mol_res_spin.py

Modified: 1.3/generic_fns/mol_res_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/mol_res_spin.py?rev=11817&r1=11816&r2=11817&view=diff
==============================================================================
--- 1.3/generic_fns/mol_res_spin.py (original)
+++ 1.3/generic_fns/mol_res_spin.py Tue Dec 14 18:22:33 2010
@@ -1424,12 +1424,6 @@
 
     # Parse the selection string.
     select_obj = Selection(selection)
-
-    # Disallowed selections.
-    if select_obj.residues:
-        raise RelaxResSelectDisallowError
-    if select_obj.spins:
-        raise RelaxSpinSelectDisallowError
 
     # Loop over the molecules.
     for mol in dp.mol:




Related Messages


Powered by MHonArc, Updated Tue Dec 14 18:40:02 2010