diff --git a/src/nwbinspector/checks/ecephys.py b/src/nwbinspector/checks/ecephys.py index 2daff4f83..2f99df573 100644 --- a/src/nwbinspector/checks/ecephys.py +++ b/src/nwbinspector/checks/ecephys.py @@ -5,8 +5,7 @@ from pynwb.misc import Units from pynwb.ecephys import ElectricalSeries -from nwbinspector.utils._utils import get_data_shape - +from ..utils import get_data_shape from .._registration import register_check, Importance, InspectorMessage diff --git a/src/nwbinspector/checks/images.py b/src/nwbinspector/checks/images.py index 985b0e551..a73d5705c 100644 --- a/src/nwbinspector/checks/images.py +++ b/src/nwbinspector/checks/images.py @@ -5,7 +5,7 @@ from pynwb.image import IndexSeries from .._registration import register_check, Importance, InspectorMessage -from nwbinspector.utils._utils import get_package_version +from ..utils import get_package_version # The Images neurodata type was unavailable prior to PyNWB v.2.1.0 if get_package_version(name="pynwb") >= Version("2.1.0"): diff --git a/src/nwbinspector/checks/nwbfile_metadata.py b/src/nwbinspector/checks/nwbfile_metadata.py index 8dded8e59..f2824a32f 100644 --- a/src/nwbinspector/checks/nwbfile_metadata.py +++ b/src/nwbinspector/checks/nwbfile_metadata.py @@ -8,7 +8,7 @@ from pynwb.file import Subject from .._registration import register_check, InspectorMessage, Importance -from nwbinspector.utils._utils import is_module_installed +from ..utils import is_module_installed duration_regex = ( r"^P(?!$)(\d+(?:\.\d+)?Y)?(\d+(?:\.\d+)?M)?(\d+(?:\.\d+)?W)?(\d+(?:\.\d+)?D)?(T(?=\d)(\d+(?:\.\d+)?H)?(\d+(?:\.\d+)" diff --git a/src/nwbinspector/checks/ophys.py b/src/nwbinspector/checks/ophys.py index 72dfedc55..237055055 100644 --- a/src/nwbinspector/checks/ophys.py +++ b/src/nwbinspector/checks/ophys.py @@ -7,8 +7,7 @@ ImagingPlane, ) -from nwbinspector.utils._utils import get_data_shape - +from ..utils import get_data_shape from .._registration import register_check, Importance, InspectorMessage MIN_LAMBDA = 10.0 # trigger warnings for wavelength values less than this value diff --git a/src/nwbinspector/checks/tables.py b/src/nwbinspector/checks/tables.py index a07db04a8..16dc97166 100644 --- a/src/nwbinspector/checks/tables.py +++ b/src/nwbinspector/checks/tables.py @@ -8,7 +8,7 @@ from pynwb.file import TimeIntervals, Units from .._registration import register_check, InspectorMessage, Importance -from nwbinspector.utils._utils import ( +from ..utils import ( cache_data_selection, format_byte_size, is_ascending_series, diff --git a/src/nwbinspector/checks/time_series.py b/src/nwbinspector/checks/time_series.py index 63b8a5000..5757ef3c8 100644 --- a/src/nwbinspector/checks/time_series.py +++ b/src/nwbinspector/checks/time_series.py @@ -6,7 +6,7 @@ from pynwb.image import ImageSeries, IndexSeries from .._registration import register_check, Importance, Severity, InspectorMessage -from nwbinspector.utils._utils import is_regular_series, is_ascending_series, get_data_shape +from ..utils import is_regular_series, is_ascending_series, get_data_shape @register_check(importance=Importance.BEST_PRACTICE_VIOLATION, neurodata_type=TimeSeries) diff --git a/src/nwbinspector/tools/dandi.py b/src/nwbinspector/tools/dandi.py index 352701656..d20cf89a7 100644 --- a/src/nwbinspector/tools/dandi.py +++ b/src/nwbinspector/tools/dandi.py @@ -5,7 +5,7 @@ from concurrent.futures import ProcessPoolExecutor, as_completed -from nwbinspector.utils._utils import is_module_installed, calculate_number_of_cpu +from nwbinspector.utils import is_module_installed, calculate_number_of_cpu def get_s3_urls_and_dandi_paths(dandiset_id: str, version_id: Optional[str] = None, n_jobs: int = 1) -> Dict[str, str]: