Skip to content

Commit

Permalink
Merge branch 'fix_config_loading' into alphaomega
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmflynn committed Oct 16, 2023
2 parents 05f2be3 + 164d35b commit e24f29f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyflask/manageNeuroconv/manage_neuroconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def generate_dataset(test_data_directory_path: str):


def inspect_nwb_file(payload):
from nwbinspector import inspect_nwbfile
from nwbinspector import inspect_nwbfile, load_config
from nwbinspector.nwbinspector import InspectorOutputJSONEncoder

messages = list(
Expand All @@ -534,7 +534,7 @@ def inspect_nwb_file(payload):
"check_description",
"check_data_orientation",
], # TODO: remove when metadata control is exposed
config="dandi",
config=load_config(filepath_or_keyword="dandi"),
**payload,
)
)
Expand All @@ -543,7 +543,7 @@ def inspect_nwb_file(payload):


def inspect_nwb_folder(payload):
from nwbinspector import inspect_all
from nwbinspector import inspect_all, load_config
from nwbinspector.nwbinspector import InspectorOutputJSONEncoder

messages = list(
Expand All @@ -553,7 +553,7 @@ def inspect_nwb_folder(payload):
"check_description",
"check_data_orientation",
], # TODO: remove when metadata control is exposed
config="dandi",
config=load_config(filepath_or_keyword="dandi"),
**payload,
)
)
Expand Down

0 comments on commit e24f29f

Please sign in to comment.