Author: bugman Date: Mon Apr 21 14:38:30 2008 New Revision: 5918 URL: http://svn.gna.org/viewcvs/relax?rev=5918&view=rev Log: Fixed the setup of the maths_fns.consistency_tests.Consistency object. This mimicks the J(w) mapping change of r5742. Modified: 1.3/specific_fns/consistency_tests.py Modified: 1.3/specific_fns/consistency_tests.py URL: http://svn.gna.org/viewcvs/relax/1.3/specific_fns/consistency_tests.py?rev=5918&r1=5917&r2=5918&view=diff ============================================================================== --- 1.3/specific_fns/consistency_tests.py (original) +++ 1.3/specific_fns/consistency_tests.py Mon Apr 21 14:38:30 2008 @@ -30,7 +30,7 @@ from data import Data as relax_data_store from generic_fns.selection import exists_mol_res_spin_data, spin_loop from maths_fns.consistency_tests import Consistency -from physical_constants import N15_CSA, NH_BOND_LENGTH +from physical_constants import N15_CSA, NH_BOND_LENGTH, h_bar, mu0, return_gyromagnetic_ratio from relax_errors import RelaxError, RelaxFuncSetupError, RelaxNoPipeError, RelaxNoSequenceError, RelaxNoValueError @@ -127,7 +127,7 @@ continue # Initialise the function to calculate. - self.ct = Consistency(frq=cdp.ct_frq, gx=spin.gx, gh=spin.gh) + self.ct = Consistency(frq=cdp.ct_frq, gx=return_gyromagnetic_ratio(spin.heteronuc_type), gh=return_gyromagnetic_ratio(spin.proton_type)) # Calculate the consistency tests values. j0, f_eta, f_r2 = self.ct.func(orientation=spin.orientation, tc=spin.tc, r=spin.r, csa=spin.csa, r1=r1, r2=r2, noe=noe)