From a826f305ca2d1c2ab90c27b5e87cd0af243dec0c Mon Sep 17 00:00:00 2001 From: luiz Date: Tue, 19 Dec 2023 13:48:52 +0100 Subject: [PATCH] fix circular import error --- src/jazayeri_lab_to_nwb/watters/__init__.py | 7 ------- .../watters/wattersnwbconverter.py | 13 ++++--------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/src/jazayeri_lab_to_nwb/watters/__init__.py b/src/jazayeri_lab_to_nwb/watters/__init__.py index 4e94968..e69de29 100644 --- a/src/jazayeri_lab_to_nwb/watters/__init__.py +++ b/src/jazayeri_lab_to_nwb/watters/__init__.py @@ -1,7 +0,0 @@ -from .wattersbehaviorinterface import ( - WattersEyePositionInterface, - WattersPupilSizeInterface, -) -from .wattersnwbconverter import WattersNWBConverter -from .wattersrecordinginterface import WattersDatRecordingInterface -from .watterstrialsinterface import WattersTrialsInterface diff --git a/src/jazayeri_lab_to_nwb/watters/wattersnwbconverter.py b/src/jazayeri_lab_to_nwb/watters/wattersnwbconverter.py index 00ac42e..1676882 100644 --- a/src/jazayeri_lab_to_nwb/watters/wattersnwbconverter.py +++ b/src/jazayeri_lab_to_nwb/watters/wattersnwbconverter.py @@ -11,23 +11,18 @@ KiloSortSortingInterface, SpikeGLXRecordingInterface, ) -from neuroconv.datainterfaces.ecephys.baserecordingextractorinterface import ( - BaseRecordingExtractorInterface, -) -from neuroconv.datainterfaces.ecephys.basesortingextractorinterface import ( - BaseSortingExtractorInterface, -) +from neuroconv.datainterfaces.ecephys.basesortingextractorinterface import BaseSortingExtractorInterface from neuroconv.datainterfaces.text.timeintervalsinterface import TimeIntervalsInterface from neuroconv.utils import FolderPathType from spikeinterface.core.waveform_tools import has_exceeding_spikes from spikeinterface.curation import remove_excess_spikes -from . import ( - WattersDatRecordingInterface, +from .wattersbehaviorinterface import ( WattersEyePositionInterface, WattersPupilSizeInterface, - WattersTrialsInterface, ) +from .wattersrecordinginterface import WattersDatRecordingInterface +from .watterstrialsinterface import WattersTrialsInterface class WattersNWBConverter(NWBConverter):