Skip to content

LocalStore.list_prefix adds directory prefix to all paths #2190

Closed
@dcherian

Description

@dcherian

Zarr version

v3

Numcodecs version

?

Python Version

?

Operating System

?

Installation

?

Description

list_prefix("") for a LocalStore seems inconsistent with the other stores. Discovered in #2189

'/private/var/folders/sc/hsdthq2x7mnbfvwnk7rp4xmr0000gn/T/pytest-of-deepak/pytest-854/test_zarr_hierarchy_local_0/zarr.json'

Also:

def test_list_prefix(self, store: LocalStore) -> None:
assert True

LOL

Steps to reproduce

Additional output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugPotential issues with the zarr-python library

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions