Skip to content

Commit

Permalink
switch get and delete for compute one
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed May 20, 2024
1 parent 024c24a commit 55cbae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spikeinterface/core/sortinganalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -921,11 +921,11 @@ def compute_one_extension(self, extension_name, save=True, **kwargs):
>>> wfs = compute_waveforms(sorting_analyzer, **some_params)
"""
extension_class = get_extension_class(extension_name)

for child in _get_children_dependencies(extension_name):
self.delete_extension(child)

extension_class = get_extension_class(extension_name)

if extension_class.need_job_kwargs:
params, job_kwargs = split_job_kwargs(kwargs)
else:
Expand Down

0 comments on commit 55cbae2

Please sign in to comment.