mailr12489 - /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 - 17:33:
Author: bugman
Date: Tue Feb  1 17:33:03 2011
New Revision: 12489

URL: http://svn.gna.org/viewcvs/relax?rev=12489&view=rev
Log:
The relax model-free model name in the BMRB file can now be handled.


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=12489&r1=12488&r2=12489&view=diff
==============================================================================
--- branches/bmrb/specific_fns/model_free/bmrb.py (original)
+++ branches/bmrb/specific_fns/model_free/bmrb.py Tue Feb  1 17:33:03 2011
@@ -96,6 +96,11 @@
             if item[search_index] == search_text:
                 return item[return_index]
 
+        # The bmrb name is the relax name!
+        for item in map.items():
+            if item[0] == bmrb_name:
+                return bmrb_name
+
         # Should not be here!
         if model_name:
             raise RelaxError("The model-free model '%s' is unknown." % 
model_name)




Related Messages


Powered by MHonArc, Updated Tue Feb 01 17:40:01 2011