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

Make workflow.py obsolete for standard cases #405

Open
danielhuppmann opened this issue Oct 3, 2024 · 1 comment
Open

Make workflow.py obsolete for standard cases #405

danielhuppmann opened this issue Oct 3, 2024 · 1 comment

Comments

@danielhuppmann
Copy link
Member

danielhuppmann commented Oct 3, 2024

Most of the repository with a workflow.py file are very generic, see for example https://github.com/iiasa/prisma-workflow/blob/main/workflow.py.

This could be abstracted away by moving this into nomenclature.yaml, for example

workflow:
    [definitions: "some-custom-definition-folder"]
    processors:
      - region-processor: "mappings"
      - [... ]

Not sure what the ideal entrypoint would be (from the scenario-processing side), maybe a new nomenclature-module that can be called if workflow.py doesn't exist?

@phackstock
Copy link
Contributor

It's a good idea for sure and one that we should definitely implement in the future. For now, though I'd see it as a low priority item since it would not save us a huge amount of time or pain.

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

No branches or pull requests

2 participants