diff --git a/monai/data/image_reader.py b/monai/data/image_reader.py index f5e199e2a3..aab1e03898 100644 --- a/monai/data/image_reader.py +++ b/monai/data/image_reader.py @@ -34,6 +34,9 @@ ) from monai.utils import MetaKeys, SpaceKeys, TraceKeys, ensure_tuple, optional_import, require_pkg +# workaround for https://github.com/Project-MONAI/MONAI/issues/8061 +warnings.filterwarnings("ignore", category=DeprecationWarning, module="nptyping") + if TYPE_CHECKING: import itk import nibabel as nib