Author: semor Date: Fri Apr 4 17:18:02 2008 New Revision: 5318 URL: http://svn.gna.org/viewcvs/relax?rev=5318&view=rev Log: Partially fixed the code so the consistency tests system test can go further before failure. Modified: 1.3/specific_fns/consistency_tests.py 1.3/test_suite/system_tests/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=5318&r1=5317&r2=5318&view=diff ============================================================================== --- 1.3/specific_fns/consistency_tests.py (original) +++ 1.3/specific_fns/consistency_tests.py Fri Apr 4 17:18:02 2008 @@ -340,7 +340,7 @@ return 'csa' # Heteronucleus type. - if search('^[Hh]eteronuc_type$', name): + if search('^[Hh]eteronucleus$', name): return 'heteronuc_type' # Proton type. Modified: 1.3/test_suite/system_tests/consistency_tests.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/consistency_tests.py?rev=5318&r1=5317&r2=5318&view=diff ============================================================================== --- 1.3/test_suite/system_tests/consistency_tests.py (original) +++ 1.3/test_suite/system_tests/consistency_tests.py Fri Apr 4 17:18:02 2008 @@ -79,7 +79,7 @@ # Set r, csa, and the nucleus type. self.relax.interpreter._Value.set(NH_BOND_LENGTH, 'bond_length') self.relax.interpreter._Value.set(N15_CSA, 'csa') - self.relax.interpreter._Value.set('N', 'nucleus') + self.relax.interpreter._Value.set('15N', 'heteronucleus') # Select the frequency. self.relax.interpreter._Consistency_tests.set_frq(frq=600.0 * 1e6)