mailr6811 - /1.3/generic_fns/structure/mass.py


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

Header


Content

Posted by edward on July 07, 2008 - 22:49:
Author: bugman
Date: Mon Jul  7 22:31:18 2008
New Revision: 6811

URL: http://svn.gna.org/viewcvs/relax?rev=6811&view=rev
Log:
Removed some code checking for deselected molecules and residues.

Only spins can be selected and deselected (one molecule at a time maybe, but 
still just the spins)!


Modified:
    1.3/generic_fns/structure/mass.py

Modified: 1.3/generic_fns/structure/mass.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/mass.py?rev=6811&r1=6810&r2=6811&view=diff
==============================================================================
--- 1.3/generic_fns/structure/mass.py (original)
+++ 1.3/generic_fns/structure/mass.py Mon Jul  7 22:31:18 2008
@@ -66,19 +66,11 @@
         else:
             mol_cont = return_molecule('#' + mol_name)
 
-        # Deselected molecules.
-        if mol_cont and not mol_cont.select:
-            continue
-
         # Get the corresponding residue container.
         if res_name == None and res_num == None:
             res_cont = mol_cont.res[0]
         else:
             res_cont = return_residue(':' + `res_num`)
-
-        # Deselected residues.
-        if res_cont and not res_cont.select:
-            continue
 
         # Get the corresponding spin container.
         if atom_name == None and atom_num == None:




Related Messages


Powered by MHonArc, Updated Mon Jul 07 23:00:20 2008