mailr18107 - /branches/frame_order_testing/generic_fns/align_tensor.py


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

Header


Content

Posted by edward on December 11, 2012 - 12:44:
Author: bugman
Date: Tue Dec 11 12:44:41 2012
New Revision: 18107

URL: http://svn.gna.org/viewcvs/relax?rev=18107&view=rev
Log:
Improvements to the warnings given by 
generic_fns.align_tensor.get_tensor_index().


Modified:
    branches/frame_order_testing/generic_fns/align_tensor.py

Modified: branches/frame_order_testing/generic_fns/align_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/generic_fns/align_tensor.py?rev=18107&r1=18106&r2=18107&view=diff
==============================================================================
--- branches/frame_order_testing/generic_fns/align_tensor.py (original)
+++ branches/frame_order_testing/generic_fns/align_tensor.py Tue Dec 11 
12:44:41 2012
@@ -671,12 +671,12 @@
 
     # No match.
     if count == 0:
-        warn(RelaxWarning("No alignment tensors match the tensor name '%s' 
or alignment ID '%s'." % (tensor, align_id)))
+        warn(RelaxWarning("No alignment tensors match the tensor name '%s' 
or alignment ID '%s' in the data pipe '%s'." % (tensor, align_id, pipe)))
         return None
 
     # More than one match.
     if count > 1: 
-        warn(RelaxWarning("More than one alignment tensors matches the 
tensor name '%s' or alignment ID '%s'." % (tensor, align_id)))
+        warn(RelaxWarning("More than one alignment tensors matches the 
tensor name '%s' or alignment ID '%s' in the data pipe '%s'." % (tensor, 
align_id, pipe)))
         return None
 
     # Return the index.




Related Messages


Powered by MHonArc, Updated Tue Dec 11 16:00:01 2012