-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
Description
This bug is closely related to #196, but I report it in a separate issue because I will give more detailed instructions on how to reproduce and also I will reference it in a different repo.
Expected behavior
Running igneous mesh forge
on some labels OME-Zarr data should create a new mesh folder and in doing so it should not modify the input data.
Observed behavior
Some of the metadata of the input data is silently modified in-place, and in doing so it gets corrupted
To reproduce
Preparation
- Download the dataset described here.
cd 20200812-CardiomyocyteDifferentiation14-Cycle1.zarr/B/03/0/labels/nuclei
- run
cat 0/.zarray
, you should see this:

The bug
- Now run
igneous mesh forge . --queue my-queue && igneous execute -x -n 8 my-queue
. This will fail as previously described in the related issue that I mentioned earlier Unable to runigneous mesh forge
on OME-Zarr (v0.4) labels #196 - Run
cat 0/.zarray
, now you will see the following, which shows that the input data has been modified in-place. In particular thechunks
list now has different values! This corrupts the OME-Zarr dataset and leads to problem with parsing (I will give more details on this in a separate issue, but here the solution is to keep the input metadata untouched).
