mailRe: r4695 - /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 Edward d'Auvergne on January 14, 2008 - 16:28:
Nicely picked up.  I was going to send a post saying that this change
would have been necessary.  But you beat me to it.

Cheers,

Edward


On Jan 13, 2008 11:15 PM,  <sebastien.morin.1@xxxxxxxxx> wrote:
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':


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-commits mailing list
relax-commits@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits




Related Messages


Powered by MHonArc, Updated Mon Jan 14 16:41:40 2008