Skip to content

download failing for RFC-5 CoordinateSystems group #507

@dstansby

Description

@dstansby

I'm trying to download a dataset, and getting the following error:

% ome_zarr download https://uk1s3.embassy.ebi.ac.uk/idr/zarr/test-data/v0.6dev2/idr0067/9036345_tiles.zarr
Traceback (most recent call last):
  File "/Users/dstansby/software/ome-zarr/ome-zarr-napari/.venv/bin/ome_zarr", line 10, in <module>
    sys.exit(main())
             ~~~~^^
  File "/Users/dstansby/software/ome-zarr/ome-zarr-napari/.venv/lib/python3.13/site-packages/ome_zarr/cli.py", line 210, in main
    ns.func(ns)
    ~~~~~~~^^^^
  File "/Users/dstansby/software/ome-zarr/ome-zarr-napari/.venv/lib/python3.13/site-packages/ome_zarr/cli.py", line 50, in download
    zarr_download(args.path, args.output)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dstansby/software/ome-zarr/ome-zarr-napari/.venv/lib/python3.13/site-packages/ome_zarr/utils.py", line 326, in download
    common = strip_common_prefix(paths)
  File "/Users/dstansby/software/ome-zarr/ome-zarr-napari/.venv/lib/python3.13/site-packages/ome_zarr/utils.py", line 408, in strip_common_prefix
    min_length = min(len(x) for x in parts)
ValueError: min() iterable argument is empty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions