mailr4242 - /1.3/generic_fns/value.py


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

Header


Content

Posted by edward on January 02, 2008 - 11:56:
Author: bugman
Date: Wed Jan  2 11:56:41 2008
New Revision: 4242

URL: http://svn.gna.org/viewcvs/relax?rev=4242&view=rev
Log:
Bug fix in the generic_fns.value.set() function.

The self.relax.generic data structure no longer exists.


Modified:
    1.3/generic_fns/value.py

Modified: 1.3/generic_fns/value.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/value.py?rev=4242&r1=4241&r2=4242&view=diff
==============================================================================
--- 1.3/generic_fns/value.py (original)
+++ 1.3/generic_fns/value.py Wed Jan  2 11:56:41 2008
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2003-2007 Edward d'Auvergne                                  
 #
+# Copyright (C) 2003-2008 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax.                                    
 #
 #                                                                            
 #
@@ -28,6 +28,7 @@
 # relax module imports.
 from data import Data as relax_data_store
 from generic_fns import diffusion_tensor
+from generic_fns.minimise import reset_min_stats
 from relax_errors import RelaxError, RelaxFileEmptyError, RelaxNoResError, 
RelaxNoPipeError, RelaxNoSequenceError, RelaxRegExpError, 
RelaxUnknownParamError, RelaxValueError
 from specific_fns import get_specific_fn
 
@@ -291,12 +292,12 @@
     ####################################
 
     # Reset the global minimisation statistics.
-    relax.generic.minimise.reset_min_stats(run)
+    reset_min_stats(run)
 
     # Reset the sequence specific minimisation statistics.
     if relax_data_store.res.has_key(run):
         for i in xrange(len(relax_data_store.res[run])):
-            relax.generic.minimise.reset_min_stats(run, i)
+            reset_min_stats(run, i)
 
 
 




Related Messages


Powered by MHonArc, Updated Wed Jan 02 12:40:10 2008