mailr15130 - /branches/frame_order_testing/prompt/domain.py


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

Header


Content

Posted by edward on January 03, 2012 - 16:37:
Author: bugman
Date: Tue Jan  3 16:37:28 2012
New Revision: 15130

URL: http://svn.gna.org/viewcvs/relax?rev=15130&view=rev
Log:
The domain user function arg spin_id can now be set to None.

This is useful if the domains are not associated with spins.


Modified:
    branches/frame_order_testing/prompt/domain.py

Modified: branches/frame_order_testing/prompt/domain.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/prompt/domain.py?rev=15130&r1=15129&r2=15130&view=diff
==============================================================================
--- branches/frame_order_testing/prompt/domain.py (original)
+++ branches/frame_order_testing/prompt/domain.py Tue Jan  3 16:37:28 2012
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2003, 2004, 2009-2011 Edward d'Auvergne                      
 #
+# Copyright (C) 2003-2012 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax.                                    
 #
 #                                                                            
 #
@@ -45,7 +45,7 @@
 
         # The argument checks.
         arg_check.is_str(id, 'domain ID string')
-        arg_check.is_str(spin_id, 'spin ID string')
+        arg_check.is_str(spin_id, 'spin ID string', can_be_none=True)
 
         # Execute the functional code.
         domain.define(id=id, spin_id=spin_id)




Related Messages


Powered by MHonArc, Updated Tue Jan 03 16:40:02 2012