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

Better functionality for producing combinations of file inputs and parameters #152

Open
samuell opened this issue Jan 7, 2023 · 0 comments

Comments

@samuell
Copy link
Member

samuell commented Jan 7, 2023

Right now there is the FileCombinator and ParamCombinator for producing combinations / "permutations" based on streams of either files or parameters.

We either also need a combined component for boths files and parameters, or some more general functionality for this, e.g. built into the port methods.

For example, something like:

// <snip>
proc2 := wf.NewProc("proc1", "some command {i:infile} {p:param1}")
proc2.In("infile").From(prpc1.Out("out"))
proc2.InParam("param1").FromStr("1", "2", combine="crossprod")
// ... in order to run each incoming file from proc1 with param1 set both to 1 and 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant