mailr12475 - /branches/bmrb/specific_fns/model_free/main.py


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

Header


Content

Posted by edward on January 31, 2011 - 18:44:
Author: bugman
Date: Mon Jan 31 18:44:11 2011
New Revision: 12475

URL: http://svn.gna.org/viewcvs/relax?rev=12475&view=rev
Log:
Fix for the model-free _model_setup() which was not merged from the main 1.3 
line.


Modified:
    branches/bmrb/specific_fns/model_free/main.py

Modified: branches/bmrb/specific_fns/model_free/main.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bmrb/specific_fns/model_free/main.py?rev=12475&r1=12474&r2=12475&view=diff
==============================================================================
--- branches/bmrb/specific_fns/model_free/main.py (original)
+++ branches/bmrb/specific_fns/model_free/main.py Mon Jan 31 18:44:11 2011
@@ -1058,9 +1058,10 @@
         """
 
         # Test that no diffusion tensor exists if local tm is a parameter in 
the model.
-        for param in params:
-            if param == 'local_tm' and hasattr(pipes.get_pipe(), 
'diff_tensor'):
-                raise RelaxTensorError('diffusion')
+        if params:
+            for param in params:
+                if param == 'local_tm' and hasattr(pipes.get_pipe(), 
'diff_tensor'):
+                    raise RelaxTensorError('diffusion')
 
         # Loop over the sequence.
         for spin in spin_loop(spin_id):




Related Messages


Powered by MHonArc, Updated Mon Jan 31 19:40:02 2011