Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

The steps of a sub-pipeline cannot be accessed if they are not the last step #9

Open
SMEISEN opened this issue Nov 24, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@SMEISEN
Copy link
Collaborator

SMEISEN commented Nov 24, 2022

Describe the bug
Using sub-pipelines, only the last steps can be accessed from other pipelines.

To Reproduce
Modify the example.py

Steps to reproduce the behavior:

  1. Rename pipeline in line 23 to pre_processing_pipeline
  2. Create a new training_pipeline in line 59, add the pre_processing_pipeline to the training_pipeline and adapt target and features of the regressor accordingly (lines 66, 67)
  3. Add a new regressor in line 70 that instead of the selected_features, takes shift_power_statistics, shift_power_statistics2, and calendar as inputs
  4. Error, because steps are not found in the buffer

Workaround
Manually set step.last=True of the steps shift_power_statistics, shift_power_statistics2, and calendar after adding them as inputs to the selected_features step (line 59)

@SMEISEN SMEISEN added the bug Something isn't working label Nov 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant