Author: bugman Date: Thu Feb 14 13:30:02 2013 New Revision: 18471 URL: http://svn.gna.org/viewcvs/relax?rev=18471&view=rev Log: Fix for the new 'mol_name_target' argument for the structure.load_spins user function - it can be None. Modified: trunk/user_functions/structure.py Modified: trunk/user_functions/structure.py URL: http://svn.gna.org/viewcvs/relax/trunk/user_functions/structure.py?rev=18471&r1=18470&r2=18471&view=diff ============================================================================== --- trunk/user_functions/structure.py (original) +++ trunk/user_functions/structure.py Thu Feb 14 13:30:02 2013 @@ -433,7 +433,8 @@ name = "mol_name_target", py_type = "str", desc_short = "target molecule name", - desc = "The name of target molecule container, overriding the name of the loaded structures." + desc = "The name of target molecule container, overriding the name of the loaded structures.", + can_be_none = True ) uf.add_keyarg( name = "ave_pos",