Skip to content

Commit

Permalink
Replace delayed import of ImportedSpikeSorting
Browse files Browse the repository at this point in the history
  • Loading branch information
CBroz1 committed Feb 10, 2024
1 parent 002df04 commit e2dc4ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/spyglass/common/populate_all_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@
from spyglass.common.common_session import Session
from spyglass.common.common_task import TaskEpoch
from spyglass.common.common_usage import InsertError
from spyglass.spikesorting.imported import ImportedSpikeSorting
from spyglass.utils import logger


def populate_all_common(nwb_file_name):
"""Insert all common tables for a given NWB file."""
from spyglass.spikesorting.imported import ImportedSpikeSorting

key = [(Nwbfile & f"nwb_file_name LIKE '{nwb_file_name}'").proj()]
tables = [
Session,
Expand Down

0 comments on commit e2dc4ad

Please sign in to comment.