mailr17158 - /branches/interatomic/generic_fns/dipole_pair.py


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

Header


Content

Posted by edward on July 03, 2012 - 18:19:
Author: bugman
Date: Tue Jul  3 18:19:57 2012
New Revision: 17158

URL: http://svn.gna.org/viewcvs/relax?rev=17158&view=rev
Log:
Improved a RelaxError message from the dipole_pair.define user function 
backend.


Modified:
    branches/interatomic/generic_fns/dipole_pair.py

Modified: branches/interatomic/generic_fns/dipole_pair.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/interatomic/generic_fns/dipole_pair.py?rev=17158&r1=17157&r2=17158&view=diff
==============================================================================
--- branches/interatomic/generic_fns/dipole_pair.py (original)
+++ branches/interatomic/generic_fns/dipole_pair.py Tue Jul  3 18:19:57 2012
@@ -117,7 +117,7 @@
 
         # Report the problem.
         if count1 == 0 and count2 == 0:
-            raise RelaxError("Both spin IDs '%s' and '%s' match no spins." % 
(spin_id1, spin_id2))
+            raise RelaxError("Neither spin IDs '%s' and '%s' match any 
spins." % (spin_id1, spin_id2))
         elif count1 == 0:
             raise RelaxError("The spin ID '%s' matches no spins." % spin_id1)
         elif count2 == 0:




Related Messages


Powered by MHonArc, Updated Tue Jul 03 18:40:02 2012