Author: bugman Date: Mon Jul 7 21:39:33 2008 New Revision: 6808 URL: http://svn.gna.org/viewcvs/relax?rev=6808&view=rev Log: Small fix for one of the tests in vectors(). Modified: 1.3/generic_fns/structure/main.py Modified: 1.3/generic_fns/structure/main.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure/main.py?rev=6808&r1=6807&r2=6808&view=diff ============================================================================== --- 1.3/generic_fns/structure/main.py (original) +++ 1.3/generic_fns/structure/main.py Mon Jul 7 21:39:33 2008 @@ -299,8 +299,8 @@ continue # The bond vector already exists. - if hasattr(spin, 'bond_vect'): - warn(RelaxWarning("The XH vector for the spin " + `id` + " already exists.")) + if hasattr(spin, object_name): + warn(RelaxWarning("The bond vector for the spin " + `id` + " already exists.")) continue # Get the bond info.