mailr12782 - /1.3/prompt/relax_data.py


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

Header


Content

Posted by edward on March 03, 2011 - 14:57:
Author: bugman
Date: Thu Mar  3 14:57:29 2011
New Revision: 12782

URL: http://svn.gna.org/viewcvs/relax?rev=12782&view=rev
Log:
The relax_data.back_calc() args no longer need to be supplied.


Modified:
    1.3/prompt/relax_data.py

Modified: 1.3/prompt/relax_data.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/prompt/relax_data.py?rev=12782&r1=12781&r2=12782&view=diff
==============================================================================
--- 1.3/prompt/relax_data.py (original)
+++ 1.3/prompt/relax_data.py Thu Mar  3 14:57:29 2011
@@ -57,9 +57,9 @@
             print(text)
 
         # The argument checks.
-        arg_check.is_str(ri_id, 'relaxation ID string')
-        arg_check.is_str(ri_type, 'relaxation type')
-        arg_check.is_num(frq, 'frequency')
+        arg_check.is_str(ri_id, 'relaxation ID string', can_be_none=True)
+        arg_check.is_str(ri_type, 'relaxation type', can_be_none=True)
+        arg_check.is_num(frq, 'frequency', can_be_none=True)
 
         # Execute the functional code.
         relax_data.back_calc(ri_id=ri_id, ri_type=ri_type, frq=frq)




Related Messages


Powered by MHonArc, Updated Thu Mar 03 15:20:01 2011