Author: bugman Date: Sun Nov 4 18:54:23 2007 New Revision: 3428 URL: http://svn.gna.org/viewcvs/relax?rev=3428&view=rev Log: A few changes to the residue.copy() user function RelaxError messages. Modified: 1.3/prompt/residue.py Modified: 1.3/prompt/residue.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/residue.py?rev=3428&r1=3427&r2=3428&view=diff ============================================================================== --- 1.3/prompt/residue.py (original) +++ 1.3/prompt/residue.py Sun Nov 4 18:54:23 2007 @@ -96,21 +96,21 @@ text = text + ", res_to=" + `res_to` + ")" print text - # The pipe_from argument. + # The data pipe from argument. if type(pipe_from) != str: - raise RelaxStrError, ('pipe_from', pipe_from) - - # The res_from argument. + raise RelaxStrError, ('data pipe from', pipe_from) + + # The residue from argument. if type(res_from) != str: - raise RelaxStrError, ('res_from', res_from) - - # The pipe_to argument. + raise RelaxStrError, ('residue from', res_from) + + # The data pipe to argument. if type(pipe_to) != str: - raise RelaxStrError, ('pipe_to', pipe_to) - - # The res_to argument. + raise RelaxStrError, ('data pipe to', pipe_to) + + # The residue to argument. if type(res_to) != str: - raise RelaxStrError, ('res_to', res_to) + raise RelaxStrError, ('residue to', res_to) # Execute the functional code. residue.copy(pipe_from=pipe_from, res_from=res_from, pipe_to=pipe_to, res_to=res_to)