Question: global way to always print to stdout/stderr? #3421
-
Apologies if this is a noob question! I am testing the machine learning workflow: https://github.com/nextflow-io/ml-hyperopt/ Of course then I quickly realized they don't have terminal output (e.g., the flux process can show this when you click on the job) and first I thought it was because I specified So my question - which I hope there is a stupidly simple answer to - is if there is a way to globally say "Always print your texty stuffs to stdout/stderr" and that way the Flux RESTFul API interface can show it easily. If there is a way to control it within the FluxExecutor (and I'm able to add some special flag) that would be great to know too - basically I just want stuff to print to the terminal within the process that is running the job. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 32 replies
-
Instead of adding
will make the following Nextflow script print hello and then world to the standard output.
Try removing the line from the There is also another way to do that, without having to create/change the
One last trick! Even if Nextflow doesn't print to your standard output, it must print somewhere, right? You can see the output by checking the content of the
|
Beta Was this translation helpful? Give feedback.
Instead of adding
debug true
to the beginning of every process block, you can set it once in thenextflow.config
file. Simply adding the line below to thenextflow.config
file in your launching directory...will make the following Nextflow script print hello and then world to the standard output.
Try removing the line from the
nextflow.config
file and you'll see the hello and world will no longer be printed to the standard output.There is also another way to do that, without having to create/cha…