Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Different .czi image metadata for conda vs pip install #79

@K-Meech

Description

@K-Meech

Description

I'm loading a czi image with napari-aicsimageio - 'Plate1-Blue-A-12-Scene-3-P3-F2-03.czi' from the OME sample data

If I've installed via conda like so:

conda create -n napari-env-aicsimagio -c conda-forge python=3.9 napari pyqt napari-aicsimageio

Then drag and drop the image on napari, it errors with failed with error: aicspylibczi is required for this reader. Install with pip install 'aicspylibczi>=3.0.5' 'fsspec>=2022.7.1'. It does still open the image though, and:

  • specifies the channel names on the end of layer names (like 'TagYFP'...)
  • states the microscope model under Instruments > Instrument:0 > microscope in the OME Tree Widget
  • lists only one image under 'images' in the OME Tree Widget
    etc...

If I then install the dependencies via pip, as the error stated:

pip install aicspylibczi fsspec

Then open the image again, some of the metadata is changed e.g.:

  • Channel names aren't put on the end of layer names (just 1/2/3)
  • No microscope model is listed in the OME Tree Widget
  • There are now two images listed under 'images' in the OME Tree Widget
    etc.

Not sure if this is a bug - but why the large difference? + why are some of the useful things picked up before like the channel names / microscope model not picked up after installing aicspylibczi?

Thanks for your help!

Environment

Windows installation

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