mailr3314 - /1.3/sample_scripts/full_analysis.py


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

Header


Content

Posted by edward on June 25, 2007 - 10:40:
Author: bugman
Date: Mon Jun 25 10:40:14 2007
New Revision: 3314

URL: http://svn.gna.org/viewcvs/relax?rev=3314&view=rev
Log:
Bug fix for the automatic looping in the full_analysis.py script.

This bug was reported by Douglas Kojetin <douglas dot kojetin att gmail dot 
com> in the post located
at https://mail.gna.org/public/relax-users/2007-06/msg00007.html.


Modified:
    1.3/sample_scripts/full_analysis.py

Modified: 1.3/sample_scripts/full_analysis.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/sample_scripts/full_analysis.py?rev=3314&r1=3313&r2=3314&view=diff
==============================================================================
--- 1.3/sample_scripts/full_analysis.py (original)
+++ 1.3/sample_scripts/full_analysis.py Mon Jun 25 10:40:14 2007
@@ -493,7 +493,9 @@
     def load_tensor(self):
         """Function for loading the optimised diffusion tensor."""
 
-        # Create the run for the previous data.
+        # Create the run for the previous data (deleting the old run first 
if necessary).
+        if relax_data_store.has_key('previous'):
+            run.delete('previous')
         run.create('previous', 'mf')
 
         # Load the optimised diffusion tensor from the initial round.




Related Messages


Powered by MHonArc, Updated Mon Jun 25 11:00:06 2007