Author: bugman Date: Thu Mar 3 11:29:09 2011 New Revision: 12762 URL: http://svn.gna.org/viewcvs/relax?rev=12762&view=rev Log: Fix for the consistency testing calculate() method - the frequency check was incorrect. Modified: branches/relax_data/specific_fns/consistency_tests.py Modified: branches/relax_data/specific_fns/consistency_tests.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_data/specific_fns/consistency_tests.py?rev=12762&r1=12761&r2=12762&view=diff ============================================================================== --- branches/relax_data/specific_fns/consistency_tests.py (original) +++ branches/relax_data/specific_fns/consistency_tests.py Thu Mar 3 11:29:09 2011 @@ -126,8 +126,8 @@ raise RelaxProtonTypeError # Frequency index. - if cdp.ct_frq not in cdp.frq: - raise RelaxError("No relaxation data corresponding to the frequency " + repr(cdp.ct_frq) + " has been loaded.") + if cdp.ct_frq not in cdp.frq.values(): + raise RelaxError("No relaxation data corresponding to the frequency %s has been loaded." % cdp.ct_frq) # Consistency testing. for spin in spin_loop(spin_id):