mailr4134 - /branches/N_state_model/prompt/align_tensor.py


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

Header


Content

Posted by edward on November 29, 2007 - 09:25:
Author: bugman
Date: Thu Nov 29 09:25:03 2007
New Revision: 4134

URL: http://svn.gna.org/viewcvs/relax?rev=4134&view=rev
Log:
Improved the error message for the tensor from and to args.


Modified:
    branches/N_state_model/prompt/align_tensor.py

Modified: branches/N_state_model/prompt/align_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/N_state_model/prompt/align_tensor.py?rev=4134&r1=4133&r2=4134&view=diff
==============================================================================
--- branches/N_state_model/prompt/align_tensor.py (original)
+++ branches/N_state_model/prompt/align_tensor.py Thu Nov 29 09:25:03 2007
@@ -101,7 +101,7 @@
 
         # The tensor_from argument.
         if type(tensor_from) != str:
-            raise RelaxStrError, ('align from ID string', tensor_from)
+            raise RelaxStrError, ('tensor from', tensor_from)
 
         # The pipe_from argument.
         if pipe_from != None and type(pipe_from) != str:
@@ -109,7 +109,7 @@
 
         # The tensor_to argument.
         if type(tensor_to) != str:
-            raise RelaxStrError, ('align to ID string', tensor_to)
+            raise RelaxStrError, ('tensor to', tensor_to)
 
         # The pipe_to argument.
         if pipe_to != None and type(pipe_to) != str:




Related Messages


Powered by MHonArc, Updated Thu Nov 29 09:40:07 2007