Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/spikeinterface/core/core_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def source_class_or_dict_of_sources_classes(*args, **kwargs):
source_class_or_dict_of_sources_classes.__signature__ = inspect.signature(source_class)
source_class_or_dict_of_sources_classes.__doc__ = source_class.__doc__
source_class_or_dict_of_sources_classes.__name__ = name
# propagate the _precomputable_kwarg_names attribute from the source class to the wrapper function
source_class_or_dict_of_sources_classes._precomputable_kwarg_names = source_class._precomputable_kwarg_names

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrishalcrow doing this allows us to get rid of the pp_names_to_classes


return source_class_or_dict_of_sources_classes

Expand Down
4 changes: 2 additions & 2 deletions src/spikeinterface/preprocessing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

from .pipeline import (
apply_preprocessing_pipeline,
get_preprocessing_dict_from_analyzer,
get_preprocessing_dict_from_file,
get_preprocessing_list_from_analyzer,
get_preprocessing_list_from_file,
PreprocessingPipeline,
)

Expand Down
Loading
Loading