Skip to content

Non-contiguous "original" dims cause error #25

Description

@lanmelo

The following runs fine:

mg.microfluidic_chip(
    zarr.tile.sel(condition=[0, 1], time=[0, 1], channel=["cy5", "egfp"], exposure=500),
    ...
)

The following

mg.microfluidic_chip(
    zarr.tile.sel(condition=[0, 1], time=[0, 1], channel=["cy5", "egfp"], exposure=[500]),
    ...
)

returns the error

ValueError: ('condition', 'time', 'channel', 'exposure') must be a permuted list of ('channel', 'im_y', 'im_x', 'condition', 'exposure', 'time'), unless `...` is included

The problem seems to arise when the "original" dimensions in postprocess.py's restore_format are non-contiguous.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions