Skip to content

Commit

Permalink
add rechunking
Browse files Browse the repository at this point in the history
I compared with rechunking at the copy stage, but that was much slower..
  • Loading branch information
akhanf committed Jan 14, 2025
1 parent 45bcf0c commit 1574a62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions workflow/scripts/imaris_to_ome_zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@
for zarr_i,stain in enumerate(stains):
#open zarr to get group name
zi = zarr.open(in_zarr)
#darr_list.append(da.from_zarr(in_zarr,component=f'Channel {zarr_i}/Data').rechunk(rechunk_size))
darr_list.append(da.from_zarr(in_zarr,component=f'channel_{zarr_i}'))
darr_list.append(da.from_zarr(in_zarr,component=f'channel_{zarr_i}').rechunk(rechunk_size))


#append to omero metadata
Expand Down

0 comments on commit 1574a62

Please sign in to comment.