Author: bugman Date: Mon Mar 9 11:48:12 2015 New Revision: 27786 URL: http://svn.gna.org/viewcvs/relax?rev=27786&view=rev Log: Improvements for the rdc.weight and pcs.weight user functions. The spin_id argument can now be set to None to allow all spins or interatomic data containers to be set. Modified: trunk/user_functions/pcs.py trunk/user_functions/rdc.py Modified: trunk/user_functions/pcs.py URL: http://svn.gna.org/viewcvs/relax/trunk/user_functions/pcs.py?rev=27786&r1=27785&r2=27786&view=diff ============================================================================== --- trunk/user_functions/pcs.py (original) +++ trunk/user_functions/pcs.py Mon Mar 9 11:48:12 2015 @@ -559,7 +559,8 @@ name = "spin_id", py_type = "str", desc_short = "spin ID string", - desc = "The spin ID string." + desc = "The spin ID string.", + can_be_none = True ) uf.add_keyarg( name = "weight", Modified: trunk/user_functions/rdc.py URL: http://svn.gna.org/viewcvs/relax/trunk/user_functions/rdc.py?rev=27786&r1=27785&r2=27786&view=diff ============================================================================== --- trunk/user_functions/rdc.py (original) +++ trunk/user_functions/rdc.py Mon Mar 9 11:48:12 2015 @@ -479,7 +479,8 @@ name = "spin_id", py_type = "str", desc_short = "spin ID string", - desc = "The spin ID string." + desc = "The spin ID string.", + can_be_none = True ) uf.add_keyarg( name = "weight",