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 Oct 30, 2024
1 parent 7c3e7ba commit 9d6c1f9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/spikeinterface/curation/auto_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,9 @@ def compute_merge_unit_groups(
params["censored_period_ms"],
)
outs["pairs_decreased_score"] = pairs_decreased_score
#ind1, ind2 = np.nonzero(pair_mask)
#print(step, len(ind1))

# ind1, ind2 = np.nonzero(pair_mask)
# print(step, len(ind1))

# FINAL STEP : create the final list from pair_mask boolean matrix
ind1, ind2 = np.nonzero(pair_mask)
Expand Down Expand Up @@ -641,7 +641,7 @@ def auto_merge_units(
presets : str or list
A single preset or a list of presets, that should be applied iteratively to the data
steps_params : dict or list of dict, default None
The params that should be used for the steps or presets. Should be a single dict if only one steps,
The params that should be used for the steps or presets. Should be a single dict if only one steps,
or a list of dict is multiples steps (same size as presets)
steps : list or list of list, default None
The list of steps that should be applied. If list of list is provided, then these lists will be applied
Expand Down Expand Up @@ -701,7 +701,6 @@ def auto_merge_units(
all_merging_groups += [merge_unit_groups]
all_outs += [outs]


if extra_outputs:
if len(to_be_launched) == 1:
all_merging_groups = all_merging_groups[0]
Expand Down

0 comments on commit 9d6c1f9

Please sign in to comment.