diff --git a/orchestration/flows/bl832/nersc.py b/orchestration/flows/bl832/nersc.py index f5850a61..d1bac0b4 100644 --- a/orchestration/flows/bl832/nersc.py +++ b/orchestration/flows/bl832/nersc.py @@ -877,7 +877,7 @@ def build_multi_resolution( --volume {pscratch_path}/8.3.2:/alsdata \ --volume {pscratch_path}/8.3.2:/alsuser/ \ {multires_image} \ -bash -c "python tiff_to_zarr.py {recon_path} --raw_file {raw_path}" +bash -c "python -m pip install --user --no-deps 'ngff-zarr==0.39.0' && python tiff_to_zarr.py {recon_path} --raw_file {raw_path}" date """ diff --git a/scripts/perlmutter/tiff_to_zarr.py b/scripts/perlmutter/tiff_to_zarr.py index e07c6e0e..8a6de4fa 100644 --- a/scripts/perlmutter/tiff_to_zarr.py +++ b/scripts/perlmutter/tiff_to_zarr.py @@ -89,7 +89,7 @@ def main(): image.scale = read_pixelsize_from_hdf5(args.raw_file) image.axes_units = {'x': 'micrometer', 'y': 'micrometer', 'z': 'micrometer'} multiscales = to_multiscales(image, method=Methods.DASK_IMAGE_GAUSSIAN, cache=False) - to_ngff_zarr(zarr_dir, multiscales) + to_ngff_zarr(zarr_dir, multiscales, version="0.4") print('NGFF Zarr created') # Set permissions for the output directory and its contents