Skip to content

Error converting hdf5 file to zarr #1152

@joshua-gould

Description

@joshua-gould

Zarr version

2.13.2

Numcodecs version

0.10.2

Python Version

3.10.4

Operating System

Mac

Installation

pip

Description

TypeError: Cannot compare structured or void to non-void arrays when converting h5 file to zarr

Steps to reproduce

import urllib

import h5py
import zarr


testfile = urllib.URLopener()
testfile.retrieve(
    "https://raw.githubusercontent.com/chanzuckerberg/cellxgene/main/example-dataset/pbmc3k.h5ad",
    "pbmc3k.h5ad",
)
with h5py.File("pbmc3k.h5ad", "r") as h5_file:
    zarr.copy_all(h5_file, zarr.open("pbmc3k.zarr", "w"))

Additional output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugPotential issues with the zarr-python library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions