Skip to content

Commit

Permalink
fix to linux selection in mean_waveforms
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferColonell committed Mar 2, 2021
1 parent f18208f commit 1edd064
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ecephys_spike_sorting/modules/mean_waveforms/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def calculate_mean_waveforms(args):
# Essential in linux where C_Waves executable is only callable through runit
if (sys.platform.startswith,'win'):
exe_path = os.path.join(args['mean_waveform_params']['cWaves_path'], 'runit.bat')
elif (sys.platform.startwith, 'linux'):
elif (sys.platform.startswith, 'linux'):
exe_path = os.path.join(args['mean_waveform_params']['cWaves_path'], 'runit.sh')
else:
print('unknown system, cannot run C_Waves')
Expand Down
4 changes: 2 additions & 2 deletions ecephys_spike_sorting/scripts/create_input_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def createInputJson(output_file,

# location of kilosor respository and kilosort version

kilosort_repository = r'C:\Users\labadmin\Documents\jic\KS20_release'
KS2ver = '2.0' # must equal '3.0', '2.5' or '2.0', and match the kiilosort_repository
kilosort_repository = r'C:\Users\labadmin\Documents\jic\KS3_fork\Kilosort2'
KS2ver = '3.0' # must equal '3.0', '2.5' or '2.0', and match the kiilosort_repository

# KS 3.0 does not yet output pcs.
if KS2ver == '3.0':
Expand Down
2 changes: 1 addition & 1 deletion ecephys_spike_sorting/scripts/sglx_multi_run_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
# these strings must match a key in the param dictionaries above.

run_specs = [
['SC024_092319_NP1.0_Midbrain', '0', '0,9', '0,1', ['cortex', 'medulla'] ]
['SC024_092319_NP1.0_Midbrain', '0', 'start,end', '0,1', ['cortex', 'medulla'] ]
]

# ------------------
Expand Down

0 comments on commit 1edd064

Please sign in to comment.