Author: bugman Date: Wed Jan 25 09:04:12 2012 New Revision: 15240 URL: http://svn.gna.org/viewcvs/relax?rev=15240&view=rev Log: Fix for the RDC setup for the frame order minimisation. Modified: branches/frame_order_testing/specific_fns/frame_order.py Modified: branches/frame_order_testing/specific_fns/frame_order.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/specific_fns/frame_order.py?rev=15240&r1=15239&r2=15240&view=diff ============================================================================== --- branches/frame_order_testing/specific_fns/frame_order.py (original) +++ branches/frame_order_testing/specific_fns/frame_order.py Wed Jan 25 09:04:12 2012 @@ -727,11 +727,11 @@ raise RelaxError("The spin '%s' contains more than one XH bond vector %s." % (spin_id, vect)) # Checks. - if not hasattr(spin, 'heteronucleus'): + if not hasattr(spin, 'heteronuc_type'): raise RelaxSpinTypeError - if not hasattr(spin, 'proton'): + if not hasattr(spin, 'proton_type'): raise RelaxProtonTypeError - if not hasattr(spin, 'bond_length'): + if not hasattr(spin, 'r'): raise RelaxNoValueError("bond length") # Gyromagnetic ratios.