Author: bugman Date: Tue Oct 7 23:06:41 2008 New Revision: 7566 URL: http://svn.gna.org/viewcvs/relax?rev=7566&view=rev Log: Fixed the calls to noe.error(). The sample script and system test script now use the spin_id arg rather than residue number. Modified: 1.3/sample_scripts/noe.py 1.3/test_suite/system_tests/scripts/noe.py Modified: 1.3/sample_scripts/noe.py URL: http://svn.gna.org/viewcvs/relax/1.3/sample_scripts/noe.py?rev=7566&r1=7565&r2=7566&view=diff ============================================================================== --- 1.3/sample_scripts/noe.py (original) +++ 1.3/sample_scripts/noe.py Tue Oct 7 23:06:41 2008 @@ -40,8 +40,8 @@ noe.error(error=3000, spectrum_type='sat') # Individual residue errors. -noe.error(error=122000, spectrum_type='ref', res_num=114) -noe.error(error=8500, spectrum_type='sat', res_num=114) +noe.error(error=122000, spectrum_type='ref', spin_id=":114") +noe.error(error=8500, spectrum_type='sat', spin_id=":114") # Deselect unresolved residues. deselect.read(file='unresolved') Modified: 1.3/test_suite/system_tests/scripts/noe.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/scripts/noe.py?rev=7566&r1=7565&r2=7566&view=diff ============================================================================== --- 1.3/test_suite/system_tests/scripts/noe.py (original) +++ 1.3/test_suite/system_tests/scripts/noe.py Tue Oct 7 23:06:41 2008 @@ -19,8 +19,8 @@ noe.error(error=3000, spectrum_type='sat') # Individual residue errors. -noe.error(error=122000, spectrum_type='ref', res_num=5) -noe.error(error=8500, spectrum_type='sat', res_num=5) +noe.error(error=122000, spectrum_type='ref', spin_id=":5") +noe.error(error=8500, spectrum_type='sat', spin_id=":5") # Deselect unresolved residues. deselect.read(file='unresolved', dir=sys.path[-1] + '/test_suite/shared_data/curve_fitting')