Author: bugman Date: Fri May 11 20:57:51 2012 New Revision: 16251 URL: http://svn.gna.org/viewcvs/relax?rev=16251&view=rev Log: Fix for the structure.read_pdb and read_xyz user functions - set_mol_name should be strings! Modified: branches/uf_redesign/user_functions/structure.py Modified: branches/uf_redesign/user_functions/structure.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/structure.py?rev=16251&r1=16250&r2=16251&view=diff ============================================================================== --- branches/uf_redesign/user_functions/structure.py (original) +++ branches/uf_redesign/user_functions/structure.py Fri May 11 20:57:51 2012 @@ -524,7 +524,7 @@ ) uf.add_keyarg( name = "set_mol_name", - py_type = "int_or_int_list", + py_type = "str_or_str_list", desc_short = "set molecule names", desc = "Set the names of the read molecules. If unset, then the molecules will be automatically labelled based on the file name or other information. This can either be a single name or a list of names.", can_be_none = True @@ -643,7 +643,7 @@ ) uf.add_keyarg( name = "set_mol_name", - py_type = "int_or_int_list", + py_type = "str_or_str_list", desc_short = "set molecule names", desc = "Set the names of the read molecules. If unset, then the molecules will be automatically labelled based on the file name or other information. This can either be a single name or a list of names.", can_be_none = True