Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 13, 2024
1 parent f3d6358 commit 6a286a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pyflask/manageNeuroconv/manage_neuroconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -1735,9 +1735,9 @@ def generate_test_data(output_path: str):
sorting_analyzer = spikeinterface.create_sorting_analyzer(
sorting=sorting, recording=artificial_ap_band_in_uV, mode="memory", sparse=False
)
sorting_analyzer.compute(['random_spikes', 'waveforms', 'templates', 'noise_levels'])
sorting_analyzer.compute('spike_amplitudes')
sorting_analyzer.compute('principal_components', n_components = 5, mode="by_channel_local")
sorting_analyzer.compute(["random_spikes", "waveforms", "templates", "noise_levels"])
sorting_analyzer.compute("spike_amplitudes")
sorting_analyzer.compute("principal_components", n_components=5, mode="by_channel_local")

spikeinterface.exporters.export_to_phy(
sorting_analyzer=sorting_analyzer, output_folder=phy_output_folder, remove_if_exists=True, copy_binary=False
Expand Down

0 comments on commit 6a286a3

Please sign in to comment.