Skip to content

Commit f4b917d

Browse files
author
Thinh Nguyen
committed
kilosort2 also as part of the contents for ClusteringMethod
1 parent a578d85 commit f4b917d

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

element_array_ephys/ephys_acute.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,8 @@ class ClusteringMethod(dj.Lookup):
428428
clustering_method_desc: varchar(1000)
429429
"""
430430

431-
contents = [('kilosort2.5', 'kilosort2.5 clustering method'),
431+
contents = [('kilosort2', 'kilosort2 clustering method'),
432+
('kilosort2.5', 'kilosort2.5 clustering method'),
432433
('kilosort3', 'kilosort3 clustering method')]
433434

434435

element_array_ephys/ephys_chronic.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44
import numpy as np
55
import inspect
66
import importlib
7+
from decimal import Decimal
78

89
from element_interface.utils import find_root_directory, find_full_path, dict_to_uuid
910

1011
from .readers import spikeglx, kilosort, openephys
11-
from . import probe
12+
from . import probe, get_logger
13+
14+
15+
log = get_logger(__name__)
1216

1317
schema = dj.schema()
1418

@@ -371,7 +375,8 @@ class ClusteringMethod(dj.Lookup):
371375
clustering_method_desc: varchar(1000)
372376
"""
373377

374-
contents = [('kilosort2.5', 'kilosort2.5 clustering method'),
378+
contents = [('kilosort2', 'kilosort2 clustering method'),
379+
('kilosort2.5', 'kilosort2.5 clustering method'),
375380
('kilosort3', 'kilosort3 clustering method')]
376381

377382

element_array_ephys/ephys_no_curation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,8 @@ class ClusteringMethod(dj.Lookup):
427427
clustering_method_desc: varchar(1000)
428428
"""
429429

430-
contents = [('kilosort2.5', 'kilosort2.5 clustering method'),
430+
contents = [('kilosort2', 'kilosort2 clustering method'),
431+
('kilosort2.5', 'kilosort2.5 clustering method'),
431432
('kilosort3', 'kilosort3 clustering method')]
432433

433434

0 commit comments

Comments
 (0)