Skip to content
Snippets Groups Projects
Commit 8a17d596 authored by Andrey Aristov's avatar Andrey Aristov
Browse files

add channel axis

parent 2ef53ccc
No related branches found
No related tags found
No related merge requests found
Pipeline #80458 passed
from calendar import c
from .convert import to_zarr from .convert import to_zarr
import fire import fire
import nd2 import nd2
...@@ -13,7 +14,7 @@ def main(nd2_path:str, output:str=None, channel_axis:int=1, steps:int=6, dry_run ...@@ -13,7 +14,7 @@ def main(nd2_path:str, output:str=None, channel_axis:int=1, steps:int=6, dry_run
if output is None: if output is None:
output = nd2_path.replace('.nd2', '.zarr') output = nd2_path.replace('.nd2', '.zarr')
out = to_zarr(data, output, steps=steps, dry_run=dry_run) out = to_zarr(data, output, steps=steps, dry_run=dry_run, channel_axis=channel_axis)
assert os.path.exists(out), "Failed..." assert os.path.exists(out), "Failed..."
exit(0) exit(0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment