Skip to content

Commit 09e8a96

Browse files
committed
Update error message
1 parent 1a4a7f5 commit 09e8a96

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

element_array_ephys/ephys.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ def make(self, key):
157157
else:
158158
raise FileNotFoundError(
159159
f'Ephys recording data not found!'
160-
f' Neither SpikeGLX nor Open Ephys recording files found')
160+
f' Neither SpikeGLX nor Open Ephys recording files found'
161+
f' in {session_dir}')
161162

162163
if acq_software == 'SpikeGLX':
163164
for meta_filepath in ephys_meta_filepaths:

element_array_ephys/ephys_chronic.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def get_session_directory(session_key: dict) -> str:
8989

9090
@schema
9191
class AcquisitionSoftware(dj.Lookup):
92-
definition = """ # Name of software used for recording of neuropixels probes - SpikeGLX or Open Ephys
92+
definition = """ # Software used for recording of neuropixels probes
9393
acq_software: varchar(24)
9494
"""
9595
contents = zip(['SpikeGLX', 'Open Ephys'])
@@ -158,7 +158,8 @@ def make(self, key):
158158
else:
159159
raise FileNotFoundError(
160160
f'Ephys recording data not found!'
161-
f' Neither SpikeGLX nor Open Ephys recording files found')
161+
f' Neither SpikeGLX nor Open Ephys recording files found'
162+
f' in {session_dir}')
162163

163164
if acq_software == 'SpikeGLX':
164165
for meta_filepath in ephys_meta_filepaths:

0 commit comments

Comments
 (0)