Skip to content

Commit

Permalink
caiman.utils.sbx_utils.sbx_chain_to_tif(): remove mode flag to tiffil…
Browse files Browse the repository at this point in the history
…e.imwrite
  • Loading branch information
pgunn committed Apr 3, 2024
1 parent 3f2f6a1 commit 2f44aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caiman/utils/sbx_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def sbx_chain_to_tif(filenames: list[str], fileout: str, subindices: Optional[Ch
fileout = fileout + '.tif'

dtype = np.float32 if to32 else np.uint16
tifffile.imwrite(fileout, data=None, mode='w', shape=save_shape, bigtiff=bigtiff, imagej=imagej,
tifffile.imwrite(fileout, data=None, shape=save_shape, bigtiff=bigtiff, imagej=imagej,
dtype=dtype, photometric='MINISBLACK')

# Now convert each file
Expand Down

0 comments on commit 2f44aa5

Please sign in to comment.