Skip to content

Commit

Permalink
Merge pull request #59 from tomography/develop
Browse files Browse the repository at this point in the history
fix #47
  • Loading branch information
nikitinvv committed Aug 25, 2024
2 parents 907808c + 61f3e8c commit bc7c348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tomocupy/dataio/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def write_data_chunk(self, rec, st, end, k):
fid.create_dataset("/exchange/data", data=rec,
chunks=(1, params.n, params.n))
elif args.save_format == 'h5nolinks':
self.h5w['/exchange/data'][st:end, :, :] = rec
self.h5w['/exchange/data'][st:end, :, :] = rec[:end-st]
elif args.save_format == 'h5sino':
filename = f"{params.fnameout[:-3]}_parts/p{k:04d}.h5"
with h5py.File(filename, "w") as fid:
Expand Down

0 comments on commit bc7c348

Please sign in to comment.