Author: bugman Date: Wed Jul 6 09:55:34 2011 New Revision: 13429 URL: http://svn.gna.org/viewcvs/relax?rev=13429&view=rev Log: Fixes for the select user function docstrings. Modified: branches/gui_testing/prompt/select.py Modified: branches/gui_testing/prompt/select.py URL: http://svn.gna.org/viewcvs/relax/branches/gui_testing/prompt/select.py?rev=13429&r1=13428&r2=13429&view=diff ============================================================================== --- branches/gui_testing/prompt/select.py (original) +++ branches/gui_testing/prompt/select.py Wed Jul 6 09:55:34 2011 @@ -169,12 +169,12 @@ arg_check.is_str(spin_id, 'spin identification string', can_be_none=True) # Execute the functional code. - reverse(selection=selection) + selection.reverse(spin_id=spin_id) # The function doc info. reverse._doc_title = "Reversal of the spin selection for the given spins." reverse._doc_args = [ - spin_id", "The spin identification string. + ["spin_id", "The spin identification string."] ] reverse._doc_desc = """ By supplying the spin_id argument, a subset of spin can have their selection status reversed. @@ -207,9 +207,9 @@ # The function doc info. spin._doc_title = "Select specific spins." spin._doc_args = [ - spin_id", "The spin identification string. - boolean", "The boolean operator specifying how spins should be selected. - change_all", "A flag specifying if all other spins should be changed. + ["spin_id", "The spin identification string."], + ["boolean", "The boolean operator specifying how spins should be selected."], + ["change_all", "A flag specifying if all other spins should be changed."] ] spin._doc_desc = """ The 'change_all' flag argument default is False meaning that all spins currently either selected or deselected will remain that way. Setting the argument to True will cause all spins not specified by 'spin_id' to be selected. @@ -226,4 +226,5 @@ relax> select.spin(':5&:CYS') relax> select.spin(spin_id=':5&:CYS') """ + spin._doc_additional = [boolean_doc] _build_doc(spin)