Skip to content

h5 to zarr #1740

Description

@Nazim0001

Zarr version

2.17.1

Numcodecs version

0.12.1

Python Version

3.11

Operating System

linux-ubuntu

Installation

pip

Description

Hi Guys,
I need to convert my h5 file from Visium to zarr to open it with spatial napari, but I did not work, and I can open the final zarr file.

root = zarr.group(dest_file, overwrite=True) root.tree()

=> Tree(nodes=(Node(disabled=True, name='/'),))

How can I succeed at it, please?

Best
Nazim

Steps to reproduce

`import h5py
import zarr
import numpy as np
from sys import stdout

sp_data_file = "/media/ben/Elements/Recherche/ETUDE230 visium plag1/data/Visium PA data/nazim/N1Abis/N1Ab.h5" ## h5 file

source = h5py.File(sp_data_file, mode='r')
dest_file = "/home/ben/Documents/VISIUM/PA/lame V1b/test.zarr"
dest = zarr.open_group(dest_file, mode='w')

zarr.copy_all(source, dest, log=stdout)`

Additional output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    V2Affects the v2 branchbugPotential 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