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

Commit 959b2e9

Browse files
Thinh Nguyendimitri-yatsenko
andauthored
Update ecephys_spike_sorting/scripts/sglx_process_probe.py
Co-authored-by: Dimitri Yatsenko <dimitri@datajoint.com>
1 parent e4ef8fa commit 959b2e9

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

ecephys_spike_sorting/scripts/sglx_process_probe.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,7 @@ def run_probe(prb, json_directory, npx_directory,
9999
# kilosort_postprocessing and noise_templates modules alter the files
100100
# that are input to phy. If using these modules, keep a copy of the
101101
# original phy output
102-
if ('kilosort_postprocessing' in modules) or ('noise_templates' in modules):
103-
ks_make_copy = True
104-
else:
105-
ks_make_copy = False
102+
ks_make_copy = 'kilosort_postprocessing' in modules or 'noise_templates' in modules
106103
kilosort_output_dir = os.path.join(data_directory, outputName)
107104
print(data_directory)
108105
print(continuous_file)

0 commit comments

Comments
 (0)