mailr3423 - /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 November 04, 2007 - 18:18:
Author: bugman
Date: Sun Nov  4 18:10:46 2007
New Revision: 3423

URL: http://svn.gna.org/viewcvs/relax?rev=3423&view=rev
Log:
A few more fixes to the 'return_molecule()' 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=3423&r1=3422&r2=3423&view=diff
==============================================================================
--- 1.3/generic_fns/selection.py (original)
+++ 1.3/generic_fns/selection.py Sun Nov  4 18:10:46 2007
@@ -474,9 +474,8 @@
         return None
 
     # Loop over the molecules.
-    mol = None
     mol_num = 0
-    mol_container = relax_data_store[pipe].mol[0]
+    mol_container = None
     for mol in relax_data_store[pipe].mol:
         # Skip the molecule if there is no match to the selection.
         if mol not in select_obj:




Related Messages


Powered by MHonArc, Updated Sun Nov 04 18:20:21 2007