mailr3318 - /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 27, 2007 - 14:43:
Author: bugman
Date: Wed Jun 27 14:43:14 2007
New Revision: 3318

URL: http://svn.gna.org/viewcvs/relax?rev=3318&view=rev
Log:
Another 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/msg00022.html, although 
the suggested code was
highly modified.


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=3318&r1=3317&r2=3318&view=diff
==============================================================================
--- 1.3/sample_scripts/full_analysis.py (original)
+++ 1.3/sample_scripts/full_analysis.py Wed Jun 27 14:43:14 2007
@@ -232,6 +232,8 @@
 
                     # Create the final run (for model selection and final 
optimisation).
                     name = 'final'
+                    if relax_data_store.has_key(name):
+                        run.delete(name)
                     run.create(name, 'mf')
 
                     # Model selection.
@@ -535,6 +537,8 @@
 
         for name in self.runs:
             # Create the run.
+            if relax_data_store.has_key(name):
+                run.delete(name)
             run.create(name, 'mf')
 
             # Load the sequence.




Related Messages


Powered by MHonArc, Updated Wed Jun 27 17:40:05 2007