scverse / scverse/spatialdata

UserWarning: ignoring keyword argument 'read_only' when reading zarr created by older version

Open
#717 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

maint 🏗️
Dominant language
Python
Stars
394
Forks
95
Avg merge
4d 3h
Merged PRs (30d)
7

Description

Getting a couple hundred warning of:
/python3.10/site-packages/zarr/creation.py:614: UserWarning: ignoring keyword argument 'read_only' compressor, fill_value = _kwargs_compat(compressor, fill_value, kwargs)

When trying to load a previously saved .zarr in a new enviroment. Not sure what version difference causes this. Does not seem to be zarr or spatialdata version.
New enviroment versions:

Spatialdata 0.2.3
zarr 2.18.3

Have you seen this before?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce loading the previously saved .zarr data in an environment with Spatialdata 0.2.3 and zarr 2.18.3, starting from the warning in zarr/creation.py:614. Compare the versions used to create and read the dataset and determine what causes the read_only keyword to be ignored. Done means the compatibility cause and an appropriate resolution are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.