|
Bugzilla – Bug 1110 |
IJ paths are not set when running from console. |
Last modified: 2015-07-10 04:08:22 CDT |
| ⚠ |
NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug. The Fiji project now uses GitHub Issues for issue tracking. Please file all new issues there. |
| IJ paths are not set when running from console. | |
|
|
|
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||
Hi, IJ.getDirectory returns null/None for most paths when run from console: /Applications/Fiji.app/Contents/MacOS/ImageJ-macosx --headless ~/test.py home directory: /Users/u0078517/ startup directory: null/ imagej directory: null/ plugins directory: None macros directory: None luts directory: null/luts/ temp directory: /tmp/ current directory: None default directory: None image directory: None This affects plenty of plugins :( --- BEGIN test.py --- from ij import IJ for adir in ["home", "startup", "imagej", "plugins", "macros", "luts", "temp", "current", "default", "image"]: print adir + " directory: " + str(IJ.getDirectory(adir)) --- END test.py ---