Skip to content

Conversation

@cgoina
Copy link
Collaborator

@cgoina cgoina commented Jul 8, 2025

N5-Zarr 1.3.5 has a bug when it writes fill_value attribute. This was fixed in the latest version so I am upgrading n5-zarr.

I also added an additional parameter for CreateFusionContainer and SparkAffineFusion that allowed me to specify the zarr group for the output. This is useful for EASI-FISH pipeline to put all rounds in the same zarr container as different groups for example:

  • stitched.ome.zarr
    |
    - r1
    |
    - r2
    Currently I could set the output parameter as '-o /stitched.ome.zarr/r1' to put the container where I want it but in this case there is no .zgroup file created under stitched.ome.zarr folder and some tools fail to read the zarr container properly. Adding the '--group' parameter fixes this issue

Dockerfile Outdated
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have this file checked in for convenience when I debug it, but if you don't want it here I can remove it.

<n5-universe.version>2.3.0</n5-universe.version>
<n5.version>3.5.0</n5.version>
<n5-zarr.version>1.5.1</n5-zarr.version>

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the correct property is n5-zarr.version not n5-zarr-version

@StephanPreibisch StephanPreibisch force-pushed the main branch 2 times, most recently from bcf964e to cf06557 Compare August 21, 2025 13:36
Copy link
Member

@krokicki krokicki left a comment

Choose a reason for hiding this comment

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

Why are changes for getContainerGroupPath() mixed into this PR? Is it necessary to upgrade the Zarr version?

@StephanPreibisch
Copy link
Contributor

Why are changes for getContainerGroupPath() mixed into this PR? Is it necessary to upgrade the Zarr version?

Can you please explain why this is added? I also think it will break the export for BDV-projects, where the XML is created alongside the the OME-ZARR/N5/HDF5.

@cgoina
Copy link
Collaborator Author

cgoina commented Aug 21, 2025

Why are changes for getContainerGroupPath() mixed into this PR? Is it necessary to upgrade the Zarr version?

This is useful for EASI-FISH pipeline to put all rounds in the same zarr container as different groups for example:

stitched.ome.zarr
|

  • r1
    |
  • r2
    Currently I could set the output parameter as '-o /stitched.ome.zarr/r1' to put the container where I want it but in this case there is no .zgroup file created under stitched.ome.zarr folder and some tools fail to read the zarr container properly. Adding the '--group' parameter fixes this issue

@StephanPreibisch I will remove this from this PR, but I found this feature really useful especially for our EASI-FISH workflow.

@cgoina cgoina requested a review from krokicki August 21, 2025 16:48
@StephanPreibisch
Copy link
Contributor

Good to know, but we have to make sure it also works outside your use-case @cgoina

@StephanPreibisch StephanPreibisch merged commit f40cfed into main Aug 21, 2025
1 check passed
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.

4 participants