Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] DO NOT MERGE! implementing conditional pipeline logic #198

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MichaelClifford
Copy link
Collaborator

Experimental PR to share feasibility of making the pipeline stages optional based on user configuration


# Pipelines

# some pre-filght image that checks all params and fails if something is wrong.
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we can revive #21 efforts?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That's a good idea.

after=output_pvc_task,
)

with dsl.If(sdg_only == True and train_only == False, name="SDG Only"):
Copy link
Member

Choose a reason for hiding this comment

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

Can we flip the toggles? It may be more intuitive that way... like remove the *_only meaning from it:

Param names Default value
run_sdg True
run_train True

So it would work like this:

run_sdg value run_train value Outcome
True True Full run
True False Only SDG is run
False True Oly Training is run
False False Nothing happens

WDYT?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, that is much better 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants