Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion orchestration/flows/bl832/nersc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down
2 changes: 1 addition & 1 deletion scripts/perlmutter/tiff_to_zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading