Skip to content

names can just be a list. We don't need to separate between input and output, since lst is already sorted with output coming before input. #17

@francescalb

Description

@francescalb
          `names` can just be a list. We don't need to separate between input and output, since `lst` is already sorted with output coming before input.

More importantly, names and strategies should be corresponding, where each element in names is the name of the name of the corresponding element in strategies.
Since add_execflow_decoration_to_pipeline() needs to know whether a strategy is an input or output, we can create a third list, called e.g. iotype who's values are "input" or "output".

An alternative to three corresponding lists, could be a list of (iotype, name, strategy)-tuples.

Originally posted by @jesper-friis in #15 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions