From 8bb3ee2107c6e65c7a5f4bfd92b515e8bb60aa8a Mon Sep 17 00:00:00 2001 From: Gregory Jefferis Date: Thu, 16 Apr 2015 07:43:59 +0100 Subject: [PATCH] fix one final missing import IJ in gui update --- cmtkgui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cmtkgui.py b/cmtkgui.py index 76f7ae9..1b02c6a 100644 --- a/cmtkgui.py +++ b/cmtkgui.py @@ -154,6 +154,7 @@ def install_dir(): def gui_install_dir(): '''return sensible location to install CMTK GUI''' + from ij import IJ pluginsdir=IJ.getDirectory('plugins') return os.path.join(pluginsdir,'Scripts','Plugins','CMTK_Registration')