Skip to content

Commit e773e94

Browse files
JaerongAThinh Nguyen
andauthored
Apply suggestions from code review
Co-authored-by: Thinh Nguyen <thinh@vathes.com>
1 parent 2eb9540 commit e773e94

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

element_array_ephys/ephys_no_curation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ def auto_generate_entries(cls, session_key):
159159
)
160160
# search session dir and determine acquisition software
161161
for ephys_pattern, ephys_acq_type in (
162-
("*.ap.meta", "*.oebin"),
163-
("SpikeGLX", "Open Ephys"),
162+
("*.ap.meta", "SpikeGLX"),
163+
("*.oebin", "Open Ephys"),
164164
):
165165
ephys_meta_filepaths = list(session_dir.rglob(ephys_pattern))
166166
if ephys_meta_filepaths:
@@ -273,8 +273,8 @@ def make(self, key):
273273

274274
# search session dir and determine acquisition software
275275
for ephys_pattern, ephys_acq_type in (
276-
("*.ap.meta", "*.oebin"),
277-
("SpikeGLX", "Open Ephys"),
276+
("*.ap.meta", "SpikeGLX"),
277+
("*.oebin", "Open Ephys"),
278278
):
279279
ephys_meta_filepaths = list(session_dir.rglob(ephys_pattern))
280280
if ephys_meta_filepaths:

element_array_ephys/ephys_precluster.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ def make(self, key):
170170

171171
# search session dir and determine acquisition software
172172
for ephys_pattern, ephys_acq_type in (
173-
("*.ap.meta", "*.oebin"),
174-
("SpikeGLX", "Open Ephys"),
173+
("*.ap.meta", "SpikeGLX"),
174+
("*.oebin", "Open Ephys"),
175175
):
176176
ephys_meta_filepaths = [fp for fp in session_dir.rglob(ephys_pattern)]
177177
if ephys_meta_filepaths:

0 commit comments

Comments
 (0)