mailr12471 - /branches/bmrb/specific_fns/model_free/bmrb.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 - 16:36:
Author: bugman
Date: Mon Jan 31 16:36:54 2011
New Revision: 12471

URL: http://svn.gna.org/viewcvs/relax?rev=12471&view=rev
Log:
The model-free model is only created if there is one in the BMRB file now.


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

Modified: branches/bmrb/specific_fns/model_free/bmrb.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bmrb/specific_fns/model_free/bmrb.py?rev=12471&r1=12470&r2=12471&view=diff
==============================================================================
--- branches/bmrb/specific_fns/model_free/bmrb.py (original)
+++ branches/bmrb/specific_fns/model_free/bmrb.py Mon Jan 31 16:36:54 2011
@@ -157,7 +157,7 @@
                         setattr(spin, mf_param_err, data[mf_bmrb_key_err][i])
 
                 # The model.
-                if data['model_fit'] != None:
+                if data['model_fit'] != None and data['model_fit'][i] != 
None:
                     model = 
self._bmrb_model_map(bmrb_name=data['model_fit'][i])
                     setattr(spin, 'model', model)
 




Related Messages


Powered by MHonArc, Updated Mon Jan 31 17:00:02 2011