Skip to content

Commit

Permalink
Fix kwargs directly passed into apply_3d_trafo_zstack function (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishek-bhardwaj-IN authored Jul 30, 2020
1 parent efe624a commit bed2482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apeer_ometiff_library/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def apply_3d_trafo_zstack(trafo_3d, array_5d, **kwargs):
for t, c in it.product(range(n_t), range(n_c)):
result = trafo_3d(array_5d[t, :, c, :, :], **kwargs)
if firstIteration:
array_out_5d = np.zeros_like(array_5d, **kwargs)
array_out_5d = np.zeros_like(array_5d, dtype=array_5d.dtype)
firstIteration = False
array_out_5d[t, :, c, :, :] = result

Expand Down

0 comments on commit bed2482

Please sign in to comment.