Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' of https://github.com/kushalkolar/MESmerize
Browse files Browse the repository at this point in the history
  • Loading branch information
kushalkolar committed Feb 7, 2022
2 parents e7fe365 + e26bacc commit 8f2c2b6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def run_single(batch_dir, UUID, output):
m_els = m_els.astype(np.uint16)

img_out_path = os.path.join(batch_dir, f'{UUID}_mc.tiff')
tifffile.imsave(img_out_path, m_els, bigtiff=True, imagej=True, compress=1)
tifffile.imsave(img_out_path, m_els, bigtiff=True, imagej=False, compress=1)
output['output_files'] = [UUID + '_mc.tiff']

output.update({'status': 1, 'bord_px': int(bord_px_els)})
Expand Down Expand Up @@ -215,7 +215,7 @@ def run_multi(batch_dir, UUID, output):
mc_out[:, z, :, :] = m_els

img_out_path = os.path.join(batch_dir, f'{UUID}_mc.tiff')
tifffile.imsave(img_out_path, mc_out, bigtiff=True, imagej=True, compress=1)
tifffile.imsave(img_out_path, mc_out, bigtiff=True, imagej=False, compress=1)
output['output_files'] = [f'{UUID}_mc.tiff']

output.update(
Expand Down

0 comments on commit 8f2c2b6

Please sign in to comment.