Skip to content

add support to load ilastik h5 flavors#305

Draft
k-dominik wants to merge 1 commit intoilastik:mainfrom
k-dominik:open-h5
Draft

add support to load ilastik h5 flavors#305
k-dominik wants to merge 1 commit intoilastik:mainfrom
k-dominik:open-h5

Conversation

@k-dominik
Copy link
Copy Markdown
Contributor

@k-dominik k-dominik commented Sep 20, 2023

mostly because I'm annoyed i can not volumina my-result-file.h5/exported_data for quick viewing.

# specify everything
volumina /path/to/myfile.h5/internal/path --axistags zyxc

# if dataset has .dims or .attrs["axistags"] (vigra):
volumina /path/to/myfile.h5/internal/path

# if there's only a single dataset
volumina /path/to/myfile.h5

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 20, 2023

Codecov Report

Patch has no changes to coverable lines.

Files Changed Coverage
volumina/__main__.py 0.00%

📢 Thoughts on this report? Let us know!.

Comment on lines +157 to +158
print(f"Axistags required for file {args.image} with shape {data.shape}")
return 1
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will print a message to stderr and exit with code 1.

sys.exit(f"Axistags required ...")

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

Successfully merging this pull request may close these issues.

2 participants