mailr23462 - /branches/disp_speed/test_suite/unit_tests/_lib/_dispersion/test_mmq_cr72.py


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

Header


Content

Posted by tlinnet on May 27, 2014 - 12:26:
Author: tlinnet
Date: Tue May 27 12:26:30 2014
New Revision: 23462

URL: http://svn.gna.org/viewcvs/relax?rev=23462&view=rev
Log:
Modified unit tests demonstrating edge cases 'no Rex' failures of the model 
'MMQ CR72'.

This was pointed out in post 
http://article.gmane.org/gmane.science.nmr.relax.devel/5940.
And in post http://article.gmane.org/gmane.science.nmr.relax.devel/5946.

This follows from the ideas in the post 
http://article.gmane.org/gmane.science.nmr.relax.devel/5858.
This is related to: task #7793: (https://gna.org/task/?7793) Speed-up of 
dispersion models.

Modified:
    
branches/disp_speed/test_suite/unit_tests/_lib/_dispersion/test_mmq_cr72.py

Modified: 
branches/disp_speed/test_suite/unit_tests/_lib/_dispersion/test_mmq_cr72.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/disp_speed/test_suite/unit_tests/_lib/_dispersion/test_mmq_cr72.py?rev=23462&r1=23461&r2=23462&view=diff
==============================================================================
--- 
branches/disp_speed/test_suite/unit_tests/_lib/_dispersion/test_mmq_cr72.py 
(original)
+++ 
branches/disp_speed/test_suite/unit_tests/_lib/_dispersion/test_mmq_cr72.py 
Tue May 27 12:26:30 2014
@@ -104,10 +104,11 @@
 
 
     def test_mmq_cr72_no_rex1(self):
-        """Test the r2eff_mmq_cr72() function for no exchange when dw = 
0.0."""
+        """Test the r2eff_mmq_cr72() function for no exchange when dw = 0.0 
and dwH = 0.0."""
 
         # Parameter reset.
         self.dw = 0.0
+        self.dwH = 0.0
 
         # Calculate and check the R2eff values.
         self.calc_r2eff()
@@ -134,21 +135,23 @@
 
 
     def test_mmq_cr72_no_rex4(self):
-        """Test the r2eff_mmq_cr72() function for no exchange when dw = 0.0 
and pA = 1.0."""
+        """Test the r2eff_mmq_cr72() function for no exchange when dw = 0.0, 
dwH = 0.0 and pA = 1.0."""
 
         # Parameter reset.
         self.pA = 1.0
         self.dw = 0.0
+        self.dwH = 0.0
 
         # Calculate and check the R2eff values.
         self.calc_r2eff()
 
 
     def test_mmq_cr72_no_rex5(self):
-        """Test the r2eff_mmq_cr72() function for no exchange when dw = 0.0 
and kex = 0.0."""
+        """Test the r2eff_mmq_cr72() function for no exchange when dw = 0.0, 
dwH = 0.0 and kex = 0.0."""
 
         # Parameter reset.
         self.dw = 0.0
+        self.dwH = 0.0
         self.kex = 0.0
 
         # Calculate and check the R2eff values.
@@ -167,10 +170,12 @@
 
 
     def test_mmq_cr72_no_rex7(self):
-        """Test the r2eff_mmq_cr72() function for no exchange when dw = 0.0, 
pA = 1.0, and kex = 0.0."""
+        """Test the r2eff_mmq_cr72() function for no exchange when dw = 0.0, 
dwH = 0.0, pA = 1.0, and kex = 0.0."""
 
         # Parameter reset.
         self.dw = 0.0
+        self.dwH = 0.0
+        self.pA = 1.0
         self.kex = 0.0
 
         # Calculate and check the R2eff values.
@@ -187,11 +192,3 @@
         self.calc_r2eff()
 
 
-    def test_mmq_cr72_no_rex9(self):
-        """Test the r2eff_mmq_cr72() function for no exchange when dwH = 
0.0."""
-
-        # Parameter reset.
-        self.dwH = 0.0
-
-        # Calculate and check the R2eff values.
-        self.calc_r2eff()




Related Messages


Powered by MHonArc, Updated Tue May 27 12:40:02 2014