Skip to content

Commit e196a13

Browse files
committed
Fix typo in assertion error message for axis dimension validation in Flip transform.
1 parent 4fd8ad8 commit e196a13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

minerva/transforms/transform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def __call__(self, x: np.ndarray) -> np.ndarray:
7474

7575
assert (
7676
len(self.axis) <= x.ndim
77-
), "Axis list has more dimentions than input data. The lenth of axis needs to be less or equal to input dimentions."
77+
), "Axis list has more dimensions than input data. The length of axis needs to be less or equal to input dimensions."
7878

7979
for axis in self.axis:
8080
x = np.flip(x, axis=axis)

0 commit comments

Comments
 (0)