Skip to content
Snippets Groups Projects
Commit 0402a140 authored by fima's avatar fima :beers:
Browse files

imports fix

parent a11f6b3d
No related branches found
No related tags found
1 merge request!157Threshold for v1
# from ._sync import Sync # this will be added back after future development
from ._convert import convert
from ._downloader import Downloader
from ._loading import load, load_mesh
from ._ome_zarr import export_ome_zarr, import_ome_zarr
from ._downloader import Downloader
from ._saving import save, save_mesh
from ._convert import convert
from ._ome_zarr import export_ome_zarr, import_ome_zarr
......@@ -7,9 +7,10 @@ import numpy as np
import tifffile as tiff
import zarr
import zarr.core
import qim3d
from tqdm import tqdm
from qim3d.io import save
from qim3d.utils._misc import stringify_path
......@@ -121,7 +122,7 @@ class Convert:
"""
z = zarr.open(zarr_path)
save(tif_path, z)
qim3d.io.save(tif_path, z)
def convert_nifti_to_zarr(self, nifti_path: str, zarr_path: str) -> zarr.core.Array:
"""
......@@ -173,7 +174,7 @@ class Convert:
"""
z = zarr.open(zarr_path)
save(nifti_path, z, compression=compression)
qim3d.io.save(nifti_path, z, compression=compression)
def convert(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment