mailr4695 - /branches/consistency_tests_1.3/specific_fns/__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 January 13, 2008 - 23:51:
Author: semor
Date: Sun Jan 13 23:15:14 2008
New Revision: 4695

URL: http://svn.gna.org/viewcvs/relax?rev=4695&view=rev
Log:
Renamed the instantiated consistency tests class in specific_fns.__init__.

This is, as for r4677, to avoid name clash and the overwriting of the module 
name.

Modified:
    branches/consistency_tests_1.3/specific_fns/__init__.py

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=4695&r1=4694&r2=4695&view=diff
==============================================================================
--- branches/consistency_tests_1.3/specific_fns/__init__.py (original)
+++ branches/consistency_tests_1.3/specific_fns/__init__.py Sun Jan 13 
23:15:14 2008
@@ -46,7 +46,7 @@
             'relax_fit']
 
 # Instantiate all classes.
-consistency_tests = Consistency_tests()
+consistency_tests_obj = Consistency_tests()
 hybrid_obj = Hybrid()
 jw_mapping_obj = Jw_mapping()
 model_free_obj = Model_free()
@@ -236,7 +236,7 @@
 
     # Consistency testing.
     if function_type == 'ct':
-        return consistency_tests
+        return consistency_tests_obj
 
     # Reduced spectral density mapping.
     if function_type == 'jw':




Related Messages


Powered by MHonArc, Updated Mon Jan 14 01:20:20 2008