mailr3678 - /1.3/prompt/residue.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on November 20, 2007 - 16:05:
Author: bugman
Date: Tue Nov 20 16:05:08 2007
New Revision: 3678

URL: http://svn.gna.org/viewcvs/relax?rev=3678&view=rev
Log:
Bug fix for the residue.copy() user function.

The pipe_to argument can also 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=3678&r1=3677&r2=3678&view=diff
==============================================================================
--- 1.3/prompt/residue.py (original)
+++ 1.3/prompt/residue.py Tue Nov 20 16:05:08 2007
@@ -104,8 +104,8 @@
             raise RelaxStrError, ('residue from', res_from)
 
         # The data pipe to argument.
-        if type(pipe_to) != str:
-            raise RelaxStrError, ('data pipe to', pipe_to)
+        if pipe_from != None and type(pipe_to) != str:
+            raise RelaxNoneStrError, ('data pipe to', pipe_to)
 
         # The residue to argument.
         if type(res_to) != str:




Related Messages


Powered by MHonArc, Updated Tue Nov 20 16:20:24 2007