Skip to content

Commit

Permalink
fix: temporarily disable compression for data tiff output (see #14)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Oct 17, 2018
1 parent 59c211f commit 1da65a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
0.6.2
- fix: regression in 0.6.0 ImageJ cannot open compressed hyperstack data;
disabling compression for now
0.6.1
- fix: MetaDataMissingError for some data types (qpformat 0.4.3)
0.6.0
Expand Down
5 changes: 4 additions & 1 deletion drymass/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,7 @@ def h5series2tif(h5in, tifout):
dataa = np.array(qpi.amp, dtype=np.float32).reshape(*dshape)
datap = np.array(qpi.pha, dtype=np.float32).reshape(*dshape)
data = np.vstack((datap, dataa))
tf.save(data=data, resolution=(res, res, None), compress=9)
tf.save(data=data,
resolution=(res, res, None),
compress=0,
)

0 comments on commit 1da65a2

Please sign in to comment.