Author: bugman Date: Tue Feb 1 14:20:22 2011 New Revision: 12482 URL: http://svn.gna.org/viewcvs/relax?rev=12482&view=rev Log: Expanded the conversion of Modelfree4 model numbers to include all of the relax model numbers as well. 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=12482&r1=12481&r2=12482&view=diff ============================================================================== --- branches/bmrb/specific_fns/model_free/bmrb.py (original) +++ branches/bmrb/specific_fns/model_free/bmrb.py Tue Feb 1 14:20:22 2011 @@ -54,8 +54,8 @@ 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']: + # Conversion of Modelfree4 (and relax) model numbers. + if bmrb_name in ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']: return 'm' + bmrb_name # The relax to BMRB model-free model name map.