mailr9011 - /1.3/generic_fns/structure/main.py


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

Header


Content

Posted by edward on April 15, 2009 - 15:28:
Author: bugman
Date: Wed Apr 15 15:28:15 2009
New Revision: 9011

URL: http://svn.gna.org/viewcvs/relax?rev=9011&view=rev
Log:
Removed a test in load_spins() causing a bug.

This test is totally unnecessary as the structures are not created if they 
already exist.  This was
causing only the position from the first model to be extracted, if ave_pos 
was False.


Modified:
    1.3/generic_fns/structure/main.py

Modified: 1.3/generic_fns/structure/main.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/main.py?rev=9011&r1=9010&r2=9011&view=diff
==============================================================================
--- 1.3/generic_fns/structure/main.py (original)
+++ 1.3/generic_fns/structure/main.py Wed Apr 15 15:28:15 2009
@@ -80,10 +80,6 @@
         if last_model != model_num:
             model_index = model_index + 1
             last_model = model_num
-
-        # Only load one set of spins if combine_models is set.
-        if combine_models and model_index >= 1:
-            break
 
         # Remove the '+' regular expression character from the mol, res, and 
spin names!
         if mol_name and search('\+', mol_name):




Related Messages


Powered by MHonArc, Updated Wed Apr 15 15:40:04 2009