-
Notifications
You must be signed in to change notification settings - Fork 667
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
View channel only when parameter is set #5831
Comments
This should work: process | (params.test_run ? view : map{ x -> x }) But what about view do you like over dump? |
You could also do it in the
|
Thanks both :) The structure of view is what i am used to looking at to track how the channel are behaving; its probably more I should just learn to examine the dump output. I do have issues if I do |
is there a way to save this to a custom operator? should this work?
|
You can define a function
Also I think it's best to use
|
Hi!
I am trying to do a
view
throughout my pipeline if I passparams.test_run
as true. I like the behavior ofview
over dump, so prefer to do that if possible.with just view, and some process in my workflow, the following works
this does not
it gives the error
Missing process or function or([Script_5fd23086685935fc$_runScript_closure7$_closure36$_closure54@137a4b54])
Lastly I would like to set this to a variable to use it in my workflow, something like
is this possible?
Thanks!
The text was updated successfully, but these errors were encountered: