mailr19292 - in /branches/2.2/test_suite/system_tests: jw_mapping.py scripts/bug_20674_jw_mapping.py


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

Header


Content

Posted by edward on April 02, 2013 - 11:23:
Author: bugman
Date: Tue Apr  2 11:23:09 2013
New Revision: 19292

URL: http://svn.gna.org/viewcvs/relax?rev=19292&view=rev
Log:
Created the Jw.bug_20674_jw_mapping system test.

This is a modification of the Ct.test_bug_20674_ct_analysis_failure system 
test for catching bug
#20674 (https://gna.org/bugs/?20674).  The test script was duplicated and the 
small modifications
made to convert it into the J(w) mapping analysis.  This now reveals the same 
bug but for the J(w)
mapping analysis.


Added:
    branches/2.2/test_suite/system_tests/scripts/bug_20674_jw_mapping.py
      - copied, changed from r19284, 
branches/2.2/test_suite/system_tests/scripts/bug_20674_ct_analysis_failure.py
Modified:
    branches/2.2/test_suite/system_tests/jw_mapping.py

Modified: branches/2.2/test_suite/system_tests/jw_mapping.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/2.2/test_suite/system_tests/jw_mapping.py?rev=19292&r1=19291&r2=19292&view=diff
==============================================================================
--- branches/2.2/test_suite/system_tests/jw_mapping.py (original)
+++ branches/2.2/test_suite/system_tests/jw_mapping.py Tue Apr  2 11:23:09 
2013
@@ -40,6 +40,13 @@
 
         # Create the data pipe.
         self.interpreter.pipe.create('jw', 'jw')
+
+
+    def test_bug_20674_jw_mapping(self):
+        """Catch U{bug #20674<https://gna.org/bugs/?20674>}, but for the 
J(w) mapping analysis."""
+
+        # Execute the script.
+        self.script_exec(status.install_path + 
sep+'test_suite'+sep+'system_tests'+sep+'scripts'+sep+'bug_20674_jw_mapping.py')
 
 
     def test_calc(self):

Copied: branches/2.2/test_suite/system_tests/scripts/bug_20674_jw_mapping.py 
(from r19284, 
branches/2.2/test_suite/system_tests/scripts/bug_20674_ct_analysis_failure.py)
URL: 
http://svn.gna.org/viewcvs/relax/branches/2.2/test_suite/system_tests/scripts/bug_20674_jw_mapping.py?p2=branches/2.2/test_suite/system_tests/scripts/bug_20674_jw_mapping.py&p1=branches/2.2/test_suite/system_tests/scripts/bug_20674_ct_analysis_failure.py&r1=19284&r2=19292&rev=19292&view=diff
==============================================================================
--- 
branches/2.2/test_suite/system_tests/scripts/bug_20674_ct_analysis_failure.py 
(original)
+++ branches/2.2/test_suite/system_tests/scripts/bug_20674_jw_mapping.py Tue 
Apr  2 11:23:09 2013
@@ -9,8 +9,7 @@
 
 
 # Create the run.
-name = 'consistency'
-pipe.create(name, 'ct')
+pipe.create('jw_mapping', 'jw')
 
 # The data directory.
 path = status.install_path + 
sep+'test_suite'+sep+'shared_data'+sep+'consistency_testing'+sep+'bug_20674_ct_analysis_failure'
@@ -36,14 +35,8 @@
 # Define the chemical shift relaxation interaction.
 value.set(val=-172 * 1e-6, param='csa')
 
-# Set the angle between the 15N-1H vector and the principal axis of the 15N 
chemical shift tensor
-value.set(val=15.7, param='orientation')
-
-# Set the approximate correlation time.
-value.set(val=13 * 1e-9, param='tc')
-
 # Set the frequency.
-consistency_tests.set_frq(frq=700.17 * 1e6)
+jw_mapping.set_frq(frq=700.17 * 1e6)
 
 # Consistency tests.
 calc()




Related Messages


Powered by MHonArc, Updated Tue Apr 02 11:40:01 2013