Skip to content

Commit

Permalink
Merge branch 'main' into add_select_methods_for_templates
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin authored Jun 6, 2024
2 parents a7ba58a + ef6d956 commit d3cf9ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/import_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
time_taken_list.append(time_taken)

for time in time_taken_list:
if time > 2.5:
if time > 1.5:
exceptions.append(f"Importing {import_statement} took too long: {time:.2f} seconds")
break

Expand Down
2 changes: 2 additions & 0 deletions src/spikeinterface/qualitymetrics/pca_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,8 @@ def nearest_neighbors_noise_overlap(
----------
Based on noise overlap metric described in [Chung]_
"""
from sklearn.decomposition import IncrementalPCA

rng = np.random.default_rng(seed=seed)

waveforms_ext = sorting_analyzer.get_extension("waveforms")
Expand Down

0 comments on commit d3cf9ac

Please sign in to comment.