1 parent 3c9ccf8 commit f36215fCopy full SHA for f36215f
1 file changed
src/modvx/mpas_reader.py
@@ -66,8 +66,9 @@ def _ensure_mpasdiag_available() -> None:
66
67
# If the availability has already been determined to be False, raise the same ImportError again
68
try:
69
- from mpasdiag.processing.remapping import remap_mpas_to_latlon_with_masking # type: ignore[import-untyped]
70
- from mpasdiag.processing.utils_geog import MPASGeographicUtils # type: ignore[import-untyped]
+ # Import modules to verify availability; the imports themselves are used for checking availability
+ import mpasdiag.processing.remapping # type: ignore[import-untyped] # noqa: F401
71
+ import mpasdiag.processing.utils_geog # type: ignore[import-untyped] # noqa: F401
72
_HAS_MPASDIAG = True
73
except ImportError as exc:
74
_HAS_MPASDIAG = False
0 commit comments