scverse / scverse/spatialdata

`sdata.write()` broken -> Reason why GH actions fail

Open
#352 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug 🚨
Dominant language
Python
Stars
394
Forks
95
Avg merge
4d 3h
Merged PRs (30d)
7

Description

MRE

from spatialdata.datasets import blobs

blobs().write("./blob.zarr")

fails with

FileNotFoundError: [Errno 2] No such file or directory: '/Users/tim.treis/Documents/GitHub/spatialdata-notebooks/notebooks/examples/blob.zarr/images/blobs_image/0/0/0/0'

Inspecting the created file shows that it only goes one 0 deep, so -> .../blobs_image/0/

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

Run the minimal example using spatialdata.datasets.blobs and blobs().write("./blob.zarr") to reproduce the FileNotFoundError. Inspect the generated blob.zarr path, especially images/blobs_image, and compare the created directory depth with the path the write operation expects; done means the example completes without the missing-path error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.