Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit 4561de4

Browse files
authored
Merge pull request #8 from ttngu207/master
bugfix in metaFullPath
2 parents 154a9ef + 0d7124f commit 4561de4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • ecephys_spike_sorting/modules/kilosort_helper

ecephys_spike_sorting/modules/kilosort_helper/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def run_kilosort(args):
3838
args['ephys_params']['bit_volts'])
3939

4040
# chanMap.mat section
41-
metaName = Path(args['ephys_params']['ap_band_file']).stem
41+
metaName = (Path(args['ephys_params']['ap_band_file']).parent / Path(args['ephys_params']['ap_band_file']).stem).as_posix()
4242

4343
if not args['kilosort_helper_params'].get('chanMap_pregenerated', False):
4444
# generate and write chanMap.mat file - different implementation for SpikeGLX and Open Ephys

0 commit comments

Comments
 (0)