mailr12199 - /branches/bieri_gui/auto_analyses/dauvergne_protocol.py


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

Header


Content

Posted by edward on January 11, 2011 - 12:26:
Author: bugman
Date: Tue Jan 11 12:26:55 2011
New Revision: 12199

URL: http://svn.gna.org/viewcvs/relax?rev=12199&view=rev
Log:
Deleted the data pipe in the first round if it already exists.

This allows the GUI to re-run one of the global models if needed.


Modified:
    branches/bieri_gui/auto_analyses/dauvergne_protocol.py

Modified: branches/bieri_gui/auto_analyses/dauvergne_protocol.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/auto_analyses/dauvergne_protocol.py?rev=12199&r1=12198&r2=12199&view=diff
==============================================================================
--- branches/bieri_gui/auto_analyses/dauvergne_protocol.py (original)
+++ branches/bieri_gui/auto_analyses/dauvergne_protocol.py Tue Jan 11 
12:26:55 2011
@@ -569,7 +569,9 @@
                     # Run name.
                     name = self.diff_model
 
-                    # Create the data pipe.
+                    # Create the data pipe (deleting the old one if it 
exists).
+                    if pipes.get_pipe(name):
+                        self.interpreter.pipe.delete(name)
                     self.interpreter.pipe.create(name, 'mf')
 
                     # Load the local tm diffusion model MI results.




Related Messages


Powered by MHonArc, Updated Tue Jan 11 13:00:01 2011