Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDF5 import issue in headless mode - no image opened #128

Open
Alxcho opened this issue Sep 10, 2024 · 0 comments
Open

HDF5 import issue in headless mode - no image opened #128

Alxcho opened this issue Sep 10, 2024 · 0 comments

Comments

@Alxcho
Copy link

Alxcho commented Sep 10, 2024

Hi,

I have a IJ macro that opens HDF5 images from Ilastik for processing and runs fine when started from IJ in batch mode with the standard run("Import HDF5", "select=[" + inputFilePath + "] datasetname=" + datasetpath + "axisorder=" + yxc). Images are processed, everything is fine.

But this doesn't seem to work when the macro is ran in headless mode / from cmd line. The import seems to complete (message reads [INFO] Import dataset finished in xxx seconds), but the image is nowhere to be found, getTitle(), or any similar command fails with the same message: Macro Error: There are no images open.

Any workaround / anything I am missing (any macro extension to call for Ilastik plugin?) or run("Import HDF5) doesn't work in headless mode /from cmd line (yet?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant