Skip to content

Commit

Permalink
fixed metadata bug for pyramid_assemble.py, tifffile.imwrite now need…
Browse files Browse the repository at this point in the history
…s mapping not NoneType
  • Loading branch information
nchuynh committed Jan 6, 2023
1 parent 0169be7 commit dd3a1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minerva_analysis/server/utils/pyramid_assemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def preduce(coords, img_in, img_out, is_mask):
def imsave(path, img, tile_size, **kwargs):
tifffile.imwrite(
path, img, bigtiff=True, append=True, tile=(tile_size, tile_size),
metadata=None, **kwargs
metadata={}, **kwargs
)


Expand Down

0 comments on commit dd3a1fb

Please sign in to comment.