mailr4209 - in /branches/consistency_tests_1.3: prompt/__init__.py specific_fns/__init__.py test_suite/system_tests/__init__.py


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

Header


Content

Posted by sebastien . morin . 1 on December 18, 2007 - 21:07:
Author: semor
Date: Tue Dec 18 21:07:21 2007
New Revision: 4209

URL: http://svn.gna.org/viewcvs/relax?rev=4209&view=rev
Log:
Added statements for consistency_tests (imports and class) in __init__.py 
files.

These changes were inspired by the jw_mapping code.


Modified:
    branches/consistency_tests_1.3/prompt/__init__.py
    branches/consistency_tests_1.3/specific_fns/__init__.py
    branches/consistency_tests_1.3/test_suite/system_tests/__init__.py

Modified: branches/consistency_tests_1.3/prompt/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/consistency_tests_1.3/prompt/__init__.py?rev=4209&r1=4208&r2=4209&view=diff
==============================================================================
--- branches/consistency_tests_1.3/prompt/__init__.py (original)
+++ branches/consistency_tests_1.3/prompt/__init__.py Tue Dec 18 21:07:21 2007
@@ -23,6 +23,7 @@
 
 __all__ = ['angles',
            'command',
+           'consistency_tests',
            'dasha',
            'diffusion_tensor',
            'dx',

Modified: branches/consistency_tests_1.3/specific_fns/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/consistency_tests_1.3/specific_fns/__init__.py?rev=4209&r1=4208&r2=4209&view=diff
==============================================================================
--- branches/consistency_tests_1.3/specific_fns/__init__.py (original)
+++ branches/consistency_tests_1.3/specific_fns/__init__.py Tue Dec 18 
21:07:21 2007
@@ -26,6 +26,7 @@
 
 
 # relax module imports.
+from specific_fns.consistency_tests import Consistency_tests
 from specific_fns.hybrid import Hybrid
 from specific_fns.jw_mapping import Jw_mapping
 from specific_fns.model_free import Model_free
@@ -36,6 +37,7 @@
 
 # The available modules.
 __all__ = [ 'base_class',
+            'consistency_tests',
             'hybrid',
             'jw_mapping',
             'model_free',
@@ -44,6 +46,7 @@
             'relax_fit']
 
 # Set up all the classes.
+consistency_tests = Consistency_tests()
 hybrid = Hybrid()
 jw_mapping = Jw_mapping()
 model_free = Model_free()
@@ -236,6 +239,10 @@
     if function_type == 'relax_fit':
         return relax_fit
 
+    # Consistency testing.
+    if function_type == 'ct':
+        return consistency_tests
+
     # Reduced spectral density mapping.
     if function_type == 'jw':
         return jw_mapping
@@ -263,6 +270,10 @@
     if function_type == 'relax_fit':
         return "relaxation curve fitting"
 
+    # Consistency testing.
+    if function_type == 'ct':
+        return "consistency testing"
+
     # Reduced spectral density mapping.
     if function_type == 'jw':
         return "reduced spectral density mapping"

Modified: branches/consistency_tests_1.3/test_suite/system_tests/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/consistency_tests_1.3/test_suite/system_tests/__init__.py?rev=4209&r1=4208&r2=4209&view=diff
==============================================================================
--- branches/consistency_tests_1.3/test_suite/system_tests/__init__.py 
(original)
+++ branches/consistency_tests_1.3/test_suite/system_tests/__init__.py Tue 
Dec 18 21:07:21 2007
@@ -22,6 +22,7 @@
 
 
 __all__ = ['angles',
+           'consistency_tests',
            'diffusion_tensor',
            'generic.py',
            'jw_mapping',




Related Messages


Powered by MHonArc, Updated Tue Dec 18 21:20:31 2007