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: