Skip to content

Commit

Permalink
updated the load_dask_data
Browse files Browse the repository at this point in the history
  • Loading branch information
“XYangXRay” committed May 15, 2024
1 parent 9161eaf commit 0c227c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyCHX/chx_generic_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3528,7 +3528,7 @@ def load_dask_data(uid, detector, mask_path_full, reverse=False, rot90=False):
# load image data as dask-arry:
dimg = hdr.xarray_dask()[md["detector"]][0]
if reverse:
dimg = dask.array.flip(dimg, axis=(0, 1))
dimg = dask.array.flip(dimg, axis=(1, 1))
if rot90:
dimg = dask.array.rot90(dimg, axes=(1, 2))
return dimg, img_md
Expand Down

0 comments on commit 0c227c7

Please sign in to comment.