Skip to content

Commit

Permalink
remove hallucinated names and fix test imports
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyCBakerPhD committed Aug 14, 2024
1 parent bc0b289 commit 1c91fbb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/nwbinspector/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
InspectorOutputJSONEncoder,
)
from ._organization import organize_messages
from .checks import *
from .checks import * # These need to be imported to trigger registration with 'available_checks', but are not exposed

default_check_registry = {check.__name__: check for check in available_checks}

Expand Down
4 changes: 0 additions & 4 deletions src/nwbinspector/checks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
)
from ._image_series import (
check_image_series_data_size,
check_image_series_reference_images,
check_image_series_reference_optical_channel,
check_image_series_external_file_relative,
check_image_series_external_file_valid,
)
Expand Down Expand Up @@ -94,8 +92,6 @@
"check_description",
"check_name_slashes",
"check_image_series_data_size",
"check_image_series_reference_images",
"check_image_series_reference_optical_channel",
"check_image_series_external_file_relative",
"check_image_series_external_file_valid",
"check_order_of_images_unique",
Expand Down
10 changes: 6 additions & 4 deletions tests/test_check_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@

from nwbinspector import (
Importance,
check_small_dataset_compression,
check_regular_timestamps,
check_data_orientation,
check_timestamps_match_first_dimension,
available_checks,
default_check_registry,
validate_config,
configure_checks,
load_config,
)
from nwbinspector.checks import (
check_small_dataset_compression,
check_regular_timestamps,
check_data_orientation,
check_timestamps_match_first_dimension,
)
from nwbinspector._configuration import _copy_function


Expand Down
2 changes: 1 addition & 1 deletion tests/unit_tests/test_nwbfile_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
check_processing_module_name,
check_session_start_time_old_date,
check_session_start_time_future_date,
PROCESSING_MODULE_CONFIG,
)
from nwbinspector.testing import make_minimal_nwbfile
from nwbinspector.checks._nwbfile_metadata import PROCESSING_MODULE_CONFIG


minimal_nwbfile = make_minimal_nwbfile()
Expand Down

0 comments on commit 1c91fbb

Please sign in to comment.