diff --git a/zarr_tools/__main__.py b/zarr_tools/__main__.py index 213aa338ce4d2a94fa2f0c8ccc21a02f229e57bf..9447c51f07991eee95c302c1195c868871f2ca13 100644 --- a/zarr_tools/__main__.py +++ b/zarr_tools/__main__.py @@ -1,3 +1,4 @@ +from calendar import c from .convert import to_zarr import fire import nd2 @@ -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: 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..." exit(0)