Skip to content

Commit b5ef2cc

Browse files
committed
Add default values to abstract class to prevent type error
1 parent a1b1f11 commit b5ef2cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

brainles_preprocessing/registration/registrator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def transform(
3636
transformed_image_path: Any,
3737
matrix_path: Any,
3838
log_file_path: str,
39-
interpolator: str,
39+
interpolator: str = "default",
4040
**kwargs
4141
):
4242
"""
@@ -61,7 +61,7 @@ def inverse_transform(
6161
transformed_image_path: Any,
6262
matrix_path: Any,
6363
log_file_path: str,
64-
interpolator: str,
64+
interpolator: str = "default",
6565
):
6666
"""
6767
Abstract method for inverse transforming images.

0 commit comments

Comments
 (0)