We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df1d09e commit 06f4753Copy full SHA for 06f4753
1 file changed
molpipeline/pipeline/_skl_pipeline.py
@@ -469,10 +469,6 @@ def _agg_non_postpred_steps(
469
aggregated_transformer_list: list[tuple[int, str, ABCPipelineElement]]
470
aggregated_transformer_list = []
471
for i, (name_i, step_i) in enumerate(self._non_post_processing_steps()):
472
- if not isinstance(step_i, ABCPipelineElement):
473
- raise AssertionError(
474
- "Step is not a PipelineElement, hence cannot be aggregated.",
475
- )
476
if isinstance(step_i, SingleInstanceTransformerMixin):
477
aggregated_transformer_list.append((i, name_i, step_i))
478
else:
0 commit comments