Skip to content

QOL: detect both .zarr and .zarr/ as using the zarr engine#10697

Merged
max-sixty merged 2 commits into
pydata:mainfrom
ianhi:guesser
Sep 4, 2025
Merged

QOL: detect both .zarr and .zarr/ as using the zarr engine#10697
max-sixty merged 2 commits into
pydata:mainfrom
ianhi:guesser

Conversation

@ianhi
Copy link
Copy Markdown
Collaborator

@ianhi ianhi commented Sep 4, 2025

When in a notebook and tabbing to fill out a file path I almost always run into a zarr file getting a trailing slash and then get an error about adding an explicit engine="zarr". This comes pretty much every time I am using a local zarr file.

image

This PR fixes this by also accepting a .zarr/. I also add the previously missing zarr entrypoint tests

  • [NA] Closes #xxxx
  • Tests added
  • User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [NA] New functions/methods are listed in api.rst

@github-actions github-actions Bot added topic-backends topic-zarr Related to zarr storage library io labels Sep 4, 2025
@max-sixty
Copy link
Copy Markdown
Collaborator

great, thanks!

@max-sixty max-sixty merged commit b2d8519 into pydata:main Sep 4, 2025
37 checks passed
@ianhi ianhi deleted the guesser branch September 4, 2025 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

io topic-backends topic-zarr Related to zarr storage library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants