mailr27464 - /trunk/gui/analyses/auto_noe.py


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

Header


Content

Posted by edward on February 03, 2015 - 14:56:
Author: bugman
Date: Tue Feb  3 14:56:21 2015
New Revision: 27464

URL: http://svn.gna.org/viewcvs/relax?rev=27464&view=rev
Log:
Proper destruction of the peak analysis wizard of the NOE GUI analysis.

The peak wizard's Destroy() method is now called and the self.peak_wizard 
object deleted in the NOE
GUI analysis delete() method.


Modified:
    trunk/gui/analyses/auto_noe.py

Modified: trunk/gui/analyses/auto_noe.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/analyses/auto_noe.py?rev=27464&r1=27463&r2=27464&view=diff
==============================================================================
--- trunk/gui/analyses/auto_noe.py      (original)
+++ trunk/gui/analyses/auto_noe.py      Tue Feb  3 14:56:21 2015
@@ -1,7 +1,7 @@
 
###############################################################################
 #                                                                            
 #
 # Copyright (C) 2009 Michael Bieri                                           
 #
-# Copyright (C) 2010-2013 Edward d'Auvergne                                  
 #
+# Copyright (C) 2010-2015 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax (http://www.nmr-relax.com).         
 #
 #                                                                            
 #
@@ -227,6 +227,11 @@
         # Clean up the peak intensity object.
         self.peak_intensity.delete()
 
+        # Destroy the peak intensity wizard, if it exists.
+        if hasattr(self, 'peak_wizard'):
+            self.peak_wizard.Destroy()
+            del self.peak_wizard
+
 
     def execute(self, event):
         """Set up, execute, and process the automatic Rx analysis.




Related Messages


Powered by MHonArc, Updated Tue Feb 03 15:00:02 2015