CellProfiler/CellProfiler — Issue #28: JIRA [IMG-1558] RunImageJ mouse-over annoyance
Author: thouis
Created: 2011-11-23 20:36:07+00:00
State: open
Labels: current

Adding a fresh RunImageJ module, then mousing over the "Command" setting produces an ugly-huge-long popup of all the possible commands. It would be nice to truncate this.

Original reporter: dlogan
Jira link: https://jira.broadinstitute.org/browse/IMG-1558
(Original JIRA has attachments.)
Fix version: Current
Assignee: leek

Comment from dlogan on Thu, 20 Oct 2011 15:35:02 -0400:
Lee said ImageJ 2.0 fixes this. But **on my Mac**, after I switch my Preferences to ImageJ 2.0, restart CP, and then add a RunImageJ module, I immediately get this error:

Traceback (most recent call last):

File "/Users/dlogan/svn/CellProfiler/trunk/CellProfiler/cellprofiler/gui/moduleview.py", line 1609, in on_idle

self.validate_module()

File "/Users/dlogan/svn/CellProfiler/trunk/CellProfiler/cellprofiler/gui/moduleview.py", line 1620, in validate_module

self.__module.test_valid(self.__pipeline)

File "/Users/dlogan/svn/CellProfiler/trunk/CellProfiler/cellprofiler/cpmodule.py", line 311, in test_valid

self.visible_settings()[0])

File "/Users/dlogan/svn/CellProfiler/trunk/CellProfiler/cellprofiler/modules/run_imagej.py", line 488, in visible_settings

self.command_settings_dictionary)

File "/Users/dlogan/svn/CellProfiler/trunk/CellProfiler/cellprofiler/modules/run_imagej.py", line 326, in get_command_settings

module_info = command.get_selected_leaf()[2]

File "/Users/dlogan/svn/CellProfiler/trunk/CellProfiler/cellprofiler/settings.py", line 1546, in get_selected_leaf

tree = self.get_tree()

File "/Users/dlogan/svn/CellProfiler/trunk/CellProfiler/cellprofiler/settings.py", line 1562, in get_tree

return self.__tree()

File "/Users/dlogan/svn/CellProfiler/trunk/CellProfiler/cellprofiler/modules/run_imagej.py", line 284, in get_choice_tree

ij2_module_service = IJ2.get_module_service(context)

File "/Users/dlogan/svn/CellProfiler/trunk/CellProfiler/imagej/imagej2.py", line 149, in get_module_service

o = context.getService('imagej.ext.module.ModuleService')

File "/Users/dlogan/svn/CellProfiler/trunk/CellProfiler/imagej/imagej2.py", line 139, in getService

'(Ljava/lang/Class;)Limagej/IService;', klass)

File "/Users/dlogan/svn/CellProfiler/trunk/CellProfiler/cellprofiler/utilities/jutil.py", line 421, in call

assert o is not None

AssertionError