Skip to content

Commit 3784238

Browse files
author
Thinh Nguyen
committed
code cleanup
1 parent 1d02cf5 commit 3784238

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

elements_ephys/ephys.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,7 @@ def make(self, key):
467467
if acq_software == 'SpikeGLX':
468468
npx_meta_fp = root_dir / (EphysRecording.EphysFile & key
469469
& 'file_path LIKE "%.ap.meta"').fetch1('file_path')
470-
neuropixels_dir = npx_meta_fp.parent
471-
npx_recording = spikeglx.SpikeGLX(neuropixels_dir)
470+
npx_recording = spikeglx.SpikeGLX(npx_meta_fp.parent)
472471
elif acq_software == 'OpenEphys':
473472
sess_dir = pathlib.Path(get_session_directory(key))
474473
loaded_oe = openephys.OpenEphys(sess_dir)

0 commit comments

Comments
 (0)