Skip to content

Commit 4160c34

Browse files
committed
Remove rotate again.
1 parent b57c10c commit 4160c34

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/magnify/preprocess.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import pathlib
33

44
import dask.array as da
5-
import dask_image.ndinterp
65
import tifffile
76
import xarray as xr
87

@@ -54,9 +53,9 @@ def rename_labels(xp: xr.Dataset, **coords):
5453

5554
@registry.component("rotate")
5655
def rotate(xp: xr.Dataset, rotation=0):
57-
xp["image"].data = dask_image.ndinterp.rotate(
58-
xp.image.data, rotation, axes=(-1, -2), reshape=False
59-
)
56+
# xp["image"].data = dask_image.ndinterp.rotate(
57+
# xp.image.data, rotation, axes=(-1, -2), reshape=False
58+
# )
6059
return xp
6160

6261

0 commit comments

Comments
 (0)