-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Unfortunately the save_script_parameters() function introduced in #111 doesn't work as intended as the globals() call returns the dictionary of the current module. Inside a function, this is the module where it is defined, not the module from which it is called as described in the built-in functions API docs for Python 2.7.
Long story short, this call is getting the global symbol table of the imcflibs namespace instead of the one from the caller (which is what we'd need for the org.scijava.script.ScriptModule part:
python-imcflibs/src/imcflibs/imagej/misc.py
Line 761 in 9dc6b9f
| module = globals().get("org.scijava.script.ScriptModule") |
After discussing with @rohangirishrao we decided to remove the function from current devel in order to not have it block the next release and see what "the best solution"™️ could look like in a new branch.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status