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

Inner branch graft overrides plan setting #153

Open
ghanneman opened this issue Jul 17, 2013 · 0 comments
Open

Inner branch graft overrides plan setting #153

ghanneman opened this issue Jul 17, 2013 · 0 comments

Comments

@ghanneman
Copy link

I have a branch point PE that can take the values yes and no, and in my workflow plan I select (PE: no) only. The following task line causes the PE.yes branch to be also run anyway, incorrectly:

task pack < pe_tune_scores=(PE: yes=$scores@eval[PE:yes,DecodeSet:tune] no="")

But it correctly doesn't run if I modify the line to take the PE graft out:

task pack < pe_tune_scores=(PE: yes=$scores@eval[DecodeSet:tune] no="")

I can see why the second version might be the preferred syntax -- it's shorter, and you could say that the outer (PE: yes) in round brackets will already select for the [PE:yes] branch in square brackets. But I feel like the first one should also work -- unless the plan explicitly requests the yes branch, why should the inner graft trigger it on its own?

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