Author: bugman Date: Wed May 30 21:11:29 2012 New Revision: 16547 URL: http://svn.gna.org/viewcvs/relax?rev=16547&view=rev Log: Rearranged the spin.name args and converted the spin ID to the special spin ID type. Modified: branches/uf_redesign/user_functions/spin.py Modified: branches/uf_redesign/user_functions/spin.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/spin.py?rev=16547&r1=16546&r2=16547&view=diff ============================================================================== --- branches/uf_redesign/user_functions/spin.py (original) +++ branches/uf_redesign/user_functions/spin.py Wed May 30 21:11:29 2012 @@ -340,19 +340,19 @@ uf.title = "Name the spins." uf.title_short = "Spin naming." uf.add_keyarg( + name = "name", + py_type = "str", + desc_short = "new spin name", + desc = "The new name." +) +uf.add_keyarg( name = "spin_id", py_type = "str", + arg_type = "spin ID", desc_short = "spin ID string", desc = "The spin identification string corresponding to one or more spins.", - wiz_element_type = 'combo', - wiz_combo_iter = get_spin_ids, - can_be_none = True -) -uf.add_keyarg( - name = "name", - py_type = "str", - desc_short = "new spin name", - desc = "The new name." + wiz_combo_iter = get_spin_ids, + can_be_none = True ) uf.add_keyarg( name = "force",