mailr7552 - /1.3/test_suite/system_tests/scripts/noe.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 07, 2008 - 21:34:
Author: bugman
Date: Tue Oct  7 21:34:11 2008
New Revision: 7552

URL: http://svn.gna.org/viewcvs/relax?rev=7552&view=rev
Log:
Fixes for the system test NOE analysis script.


Modified:
    1.3/test_suite/system_tests/scripts/noe.py

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=7552&r1=7551&r2=7552&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/scripts/noe.py (original)
+++ 1.3/test_suite/system_tests/scripts/noe.py Tue Oct  7 21:34:11 2008
@@ -1,4 +1,5 @@
 # Script for calculating NOEs.
+import sys
 
 # Create the NOE data pipe.
 pipe.create('NOE', 'noe')
@@ -7,16 +8,16 @@
 sequence.read(file='Ap4Aase.seq', dir=sys.path[-1] + 
'/test_suite/shared_data')
 
 # Load the reference spectrum and saturated spectrum peak intensities.
-noe.read(file='ref.list', spectrum_type='ref')
-noe.read(file='sat.list', spectrum_type='sat')
+noe.read(file='ref_ave.list', dir=sys.path[-1] + 
'/test_suite/shared_data/peak_lists', spectrum_type='ref')
+noe.read(file='sat_ave.list', dir=sys.path[-1] + 
'/test_suite/shared_data/peak_lists', spectrum_type='sat')
 
 # Set the errors.
 noe.error(error=3600, spectrum_type='ref')
 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', res_num=5)
+noe.error(error=8500, spectrum_type='sat', res_num=5)
 
 # Deselect unresolved residues.
 deselect.read(file='unresolved', dir=sys.path[-1] + 
'/test_suite/shared_data/curve_fitting')
@@ -25,7 +26,7 @@
 calc()
 
 # Save the NOEs.
-value.write(param='noe', file='noe.out', force=True)
+value.write(param='noe', file='devnull', force=True)
 
 # Create grace files.
 grace.write(y_data_type='ref', file='devnull', force=True)




Related Messages


Powered by MHonArc, Updated Tue Oct 07 21:40:03 2008