From f78ddbfbab552564338dec124d205cd329438ea9 Mon Sep 17 00:00:00 2001 From: Garrett Date: Tue, 17 Oct 2023 13:38:05 -0700 Subject: [PATCH 1/2] Update manage_neuroconv.py --- pyflask/manageNeuroconv/manage_neuroconv.py | 22 ++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/pyflask/manageNeuroconv/manage_neuroconv.py b/pyflask/manageNeuroconv/manage_neuroconv.py index d72b5361f..e36d00f43 100644 --- a/pyflask/manageNeuroconv/manage_neuroconv.py +++ b/pyflask/manageNeuroconv/manage_neuroconv.py @@ -132,7 +132,27 @@ def get_all_interface_info() -> dict: """Format an information structure to be used for selecting interfaces based on modality and technique.""" from neuroconv.datainterfaces import interface_list - exclude_interfaces_from_selection = ["SpikeGLXLFP"] # Should have 'interface' stripped from name + exclude_interfaces_from_selection = [ + + # Deprecated + "SpikeGLXLFP", + + # Aliased + "CEDRecording", + "OpenEphysBinaryRecording", + "OpenEphysLegacyRecording", + + # Ignored + "AxonaPositionData", + "AxonaUnitRecording", + "CsvTimeIntervals", + "ExcelTimeIntervals", + "Hdf5Imaging", + "MaxOneRecording", + "OpenEphysSorting", + "SimaSegmentation" + + ] # Should have 'interface' stripped from name interfaces_to_load = {interface.__name__.replace("Interface", ""): interface for interface in interface_list} for excluded_interface in exclude_interfaces_from_selection: From 7b6167bf1ecf9fe0363abe54ec38764eb07113ed Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 17 Oct 2023 20:40:58 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyflask/manageNeuroconv/manage_neuroconv.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pyflask/manageNeuroconv/manage_neuroconv.py b/pyflask/manageNeuroconv/manage_neuroconv.py index e36d00f43..8b0715c3c 100644 --- a/pyflask/manageNeuroconv/manage_neuroconv.py +++ b/pyflask/manageNeuroconv/manage_neuroconv.py @@ -133,15 +133,12 @@ def get_all_interface_info() -> dict: from neuroconv.datainterfaces import interface_list exclude_interfaces_from_selection = [ - # Deprecated "SpikeGLXLFP", - # Aliased "CEDRecording", "OpenEphysBinaryRecording", "OpenEphysLegacyRecording", - # Ignored "AxonaPositionData", "AxonaUnitRecording", @@ -150,8 +147,7 @@ def get_all_interface_info() -> dict: "Hdf5Imaging", "MaxOneRecording", "OpenEphysSorting", - "SimaSegmentation" - + "SimaSegmentation", ] # Should have 'interface' stripped from name interfaces_to_load = {interface.__name__.replace("Interface", ""): interface for interface in interface_list}