mailr12481 - /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 February 01, 2011 - 11:01:
Author: bugman
Date: Tue Feb  1 11:01:22 2011
New Revision: 12481

URL: http://svn.gna.org/viewcvs/relax?rev=12481&view=rev
Log:
Added a catch to _bmrb_model_map() for Modelfree4 model names in the BMRB 
files.


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=12481&r1=12480&r2=12481&view=diff
==============================================================================
--- branches/bmrb/specific_fns/model_free/bmrb.py (original)
+++ branches/bmrb/specific_fns/model_free/bmrb.py Tue Feb  1 11:01:22 2011
@@ -53,6 +53,10 @@
         # Check.
         if model_name != None and bmrb_name != None:
             raise RelaxError, "Either the model_name or bmrb_name args can 
be supplied, but not both together."
+
+        # Conversion of Modelfree4 model names.
+        if bmrb_name in ['1', '2', '3', '4', '5']:
+            return 'm' + bmrb_name
 
         # The relax to BMRB model-free model name map.
         map = {'m0':  '',




Related Messages


Powered by MHonArc, Updated Tue Feb 01 14:40:02 2011