From bc2a002203af1e41a7b23acd5191ff772780642d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 3 Apr 2024 18:18:27 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyflask/manageNeuroconv/manage_neuroconv.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyflask/manageNeuroconv/manage_neuroconv.py b/pyflask/manageNeuroconv/manage_neuroconv.py index 749d69601..63b361673 100644 --- a/pyflask/manageNeuroconv/manage_neuroconv.py +++ b/pyflask/manageNeuroconv/manage_neuroconv.py @@ -427,12 +427,11 @@ def get_metadata_schema(source_data: Dict[str, dict], interfaces: dict) -> Dict[ } schema["properties"]["Ecephys"]["required"].append("UnitColumns") - + ecephys_properties["Units"] = {"type": "object", "properties": {}, "required": []} metadata["Ecephys"]["Units"] = {} schema["properties"]["Ecephys"]["required"].append("Units") - def on_sorting_interface(name, sorting_interface): unit_columns = get_unit_columns_json(sorting_interface)