Author: bugman Date: Tue Nov 20 16:04:19 2007 New Revision: 3677 URL: http://svn.gna.org/viewcvs/relax?rev=3677&view=rev Log: Bug fix for the residue.copy() user function. The pipe_from argument can be None. 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=3677&r1=3676&r2=3677&view=diff ============================================================================== --- 1.3/prompt/residue.py (original) +++ 1.3/prompt/residue.py Tue Nov 20 16:04:19 2007 @@ -96,8 +96,8 @@ print text # The data pipe from argument. - if type(pipe_from) != str: - raise RelaxStrError, ('data pipe from', pipe_from) + if pipe_from != None and type(pipe_from) != str: + raise RelaxNoneStrError, ('data pipe from', pipe_from) # The residue from argument. if type(res_from) != str: