Skip to content

Commit

Permalink
bugfix - was passing channel index for nifti (#9)
Browse files Browse the repository at this point in the history
was defaulting to the first channel, which coincidentally worked fine for the
lifecanvas data
  • Loading branch information
akhanf authored Jun 28, 2024
1 parent ff40c00 commit d9c2a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spimquant/workflow/scripts/ome_zarr_to_nii.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@


with ProgressBar():
ZarrNii.from_path(in_zarr,level=level).downsample(along_z=zdownsampling).to_nifti(snakemake.output.nii)
ZarrNii.from_path(in_zarr,level=level,channels=[channel_index]).downsample(along_z=zdownsampling).to_nifti(snakemake.output.nii)


0 comments on commit d9c2a7b

Please sign in to comment.