mailr12504 - /branches/bmrb/prompt/bmrb.py


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

Header


Content

Posted by edward on February 02, 2011 - 13:27:
Author: bugman
Date: Wed Feb  2 13:27:46 2011
New Revision: 12504

URL: http://svn.gna.org/viewcvs/relax?rev=12504&view=rev
Log:
The BMRB user function version args can now be None to allow Bmrblib decide 
on the default version.


Modified:
    branches/bmrb/prompt/bmrb.py

Modified: branches/bmrb/prompt/bmrb.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bmrb/prompt/bmrb.py?rev=12504&r1=12503&r2=12504&view=diff
==============================================================================
--- branches/bmrb/prompt/bmrb.py (original)
+++ branches/bmrb/prompt/bmrb.py Wed Feb  2 13:27:46 2011
@@ -203,7 +203,7 @@
         # The argument checks.
         arg_check.is_str(file, 'file name')
         arg_check.is_str(dir, 'directory name', can_be_none=True)
-        arg_check.is_str(version, 'NMR-STAR dictionary version')
+        arg_check.is_str(version, 'NMR-STAR dictionary version', 
can_be_none=True)
 
         # Execute the functional code.
         bmrb.read(file=file, directory=dir, version=version)
@@ -530,7 +530,7 @@
         # The argument checks.
         arg_check.is_str(file, 'file name')
         arg_check.is_str(dir, 'directory name', can_be_none=True)
-        arg_check.is_str(version, 'NMR-STAR dictionary version')
+        arg_check.is_str(version, 'NMR-STAR dictionary version', 
can_be_none=True)
         arg_check.is_bool(force, 'force flag')
 
         # Execute the functional code.




Related Messages


Powered by MHonArc, Updated Wed Feb 02 14:00:02 2011