Skip to content

Commit 290feca

Browse files
committed
remove zip function
1 parent dab5dfe commit 290feca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

element_array_ephys/ephys_no_curation.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,9 @@ def auto_generate_entries(cls, session_key):
158158
get_ephys_root_data_dir(), get_session_directory(session_key)
159159
)
160160
# search session dir and determine acquisition software
161-
for ephys_pattern, ephys_acq_type in zip(
162-
["*.ap.meta", "*.oebin"], ["SpikeGLX", "Open Ephys"]
161+
for ephys_pattern, ephys_acq_type in (
162+
("*.ap.meta", "*.oebin"),
163+
("SpikeGLX", "Open Ephys"),
163164
):
164165
ephys_meta_filepaths = list(session_dir.rglob(ephys_pattern))
165166
if ephys_meta_filepaths:

0 commit comments

Comments
 (0)