コード例 #1
0
 def OnExit(self):
     from imagej.imagej2 import allow_quit
     allow_quit()
     from cellprofiler.utilities.jutil import deactivate_awt
     deactivate_awt()
     # restore previous exception hook
     sys.excepthook = self.orig_excepthook
コード例 #2
0
 def OnExit(self):
     from imagej.imagej2 import allow_quit
     allow_quit()
     from cellprofiler.utilities.jutil import deactivate_awt
     deactivate_awt()
     # restore previous exception hook
     sys.excepthook = self.orig_excepthook
コード例 #3
0
 def exit_thread(self):
     from bioformats.formatreader import clear_image_reader_cache
     self.notify_socket.close()
     clear_image_reader_cache()
     J.deactivate_awt()
     J.detach()
     if self.with_stop_run_loop:
         stop_run_loop()
コード例 #4
0
 def exit_thread(self):
     from bioformats.formatreader import clear_image_reader_cache
     self.notify_socket.close()
     clear_image_reader_cache()
     J.deactivate_awt()
     J.detach()
     if self.with_stop_run_loop:
         stop_run_loop()
コード例 #5
0
 def tearDownClass(cls):
     from cellprofiler.utilities.jutil import deactivate_awt
     deactivate_awt()
コード例 #6
0
 def exit_thread(self):
     self.notify_socket.close()
     J.deactivate_awt()
     J.detach()
     if self.with_stop_run_loop:
         stop_run_loop()
コード例 #7
0
 def OnExit(self):
     from cellprofiler.utilities.jutil import deactivate_awt
     deactivate_awt()
コード例 #8
0
 def tearDownClass(cls):
     from cellprofiler.utilities.jutil import deactivate_awt
     deactivate_awt()
コード例 #9
0
 def exit_thread(self):
     self.notify_socket.close()
     J.deactivate_awt()
     J.detach()
     if self.with_stop_run_loop:
         stop_run_loop()
コード例 #10
0
ファイル: killvmplugin.py プロジェクト: meawoppl/CellProfiler
 def OnExit(self):
     from cellprofiler.utilities.jutil \
         import deactivate_awt
     deactivate_awt()