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

forward input is not seen by next stage after a parallel branch #257

Open
ssayols opened this issue Aug 7, 2019 · 0 comments
Open

forward input is not seen by next stage after a parallel branch #257

ssayols opened this issue Aug 7, 2019 · 0 comments

Comments

@ssayols
Copy link
Contributor

ssayols commented Aug 7, 2019

Hi there,
we realized that since release version 0.9.9.7, forward input seems to be ignored if run as the last step of a parallel branch. Consider this minimal example:

foo = {
    transform(".foo") {
        exec "echo $input > $output"
    }
}

bar = {
    transform(".bar") {
        exec "echo $input > $output"
    }
    forward input
}

foobar = {
    transform(".foobar") {
        exec "echo $input > $output"
    }
}

Bpipe.run {
    "%.txt" * [ foo + bar ] + "%.foo" * [ foobar ]
}

In versions prior to 0.9.9.7 the pattern "%.foo" collects all output files generated by the stage foo (forwarded by bar), while 0.9.9.7 issues a warning and doesn't run foobar at all:

Note: a pattern '%.foo' was provided, but did not match any of the files provided as input [x.bar, y.bar, z.bar].

cheers,
Sergi

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

1 participant