Skip to content

Commit

Permalink
removing row label column from csv files
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferColonell committed Oct 26, 2021
1 parent d77560f commit eb375bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ecephys_spike_sorting/modules/mean_waveforms/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def calculate_mean_waveforms(args):
args['mean_waveform_params'])

writeDataAsNpy(waveforms, args['mean_waveform_params']['mean_waveforms_file'])
metrics.to_csv(args['waveform_metrics']['waveform_metrics_file'])
metrics.to_csv(args['waveform_metrics']['waveform_metrics_file'], index=False)


# if the cluster metrics have already been run, merge the waveform metrics into that file
Expand All @@ -193,7 +193,7 @@ def calculate_mean_waveforms(args):
on='cluster_id',
suffixes=('_quality_metrics','_waveform_metrics'))
print("Saving merged quality metrics ...")
qmetrics.to_csv(metrics_curr)
qmetrics.to_csv(metrics_curr, index=False)

execution_time = time.time() - start

Expand Down

0 comments on commit eb375bb

Please sign in to comment.