Author: bugman Date: Tue Nov 20 16:47:43 2007 New Revision: 3686 URL: http://svn.gna.org/viewcvs/relax?rev=3686&view=rev Log: Bug fix for the residue.copy() user function. In the test for 'pipe_to' being None, the 'pipe_from' argument was being checked instead! 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=3686&r1=3685&r2=3686&view=diff ============================================================================== --- 1.3/prompt/residue.py (original) +++ 1.3/prompt/residue.py Tue Nov 20 16:47:43 2007 @@ -104,7 +104,7 @@ raise RelaxStrError, ('residue from', res_from) # The data pipe to argument. - if pipe_from != None and type(pipe_to) != str: + if pipe_to != None and type(pipe_to) != str: raise RelaxNoneStrError, ('data pipe to', pipe_to) # The residue to argument.