Skip to content

Use Jinja for workflow generation #9

@antalszava

Description

@antalszava

Context

The gen_workflow file contains code for generating Orquestra workflows that are then submitted to Orquestra locally. The sample workflow template for computing expectation values is stored at the moment as a dictionary. A YAML file is then created using this Python dictionary.

As the possible workflows to be generated by the plugin become more complex, it can be worth considering alternatives to storing workflow templates and steps as Python dictionaries internally.

One approach that could help maintainability and readability would be to turn to use Jinja for generating workflows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions