-
Notifications
You must be signed in to change notification settings - Fork 5
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
Workflow report #134
Workflow report #134
Conversation
Instead of using workflow.onComplete (and battling to pass values through params), collate the data with a regular channel and call the function directly.
|
By the way, at some point I managed to get an error that got Nextflow to print what
|
Hi @muffato, |
I've added your changes to #132. I didn't do it through a merge but have attributed the authorship to you so let me know if there's anything wrong with it. |
Closes #129
Hi @DLBPointon
In #132 I couldn't get
workflow.onComplete
to work at all, but even if I could run it, there are problems (cf #129) and the current implementation feels awkward in some regards:params
during the workflow, which is not really recommended..value()
needs to be added. Probably a consequence of the above !Here I present an alternative way of running the summary function, simply through regular channel manipulations and function calls.
combine()
in a channel..map
.collected_metrics_ch
. By construction, it contains a single element.TreeValProject.summary
is called on that map object, plus theworkflow
andparams
.cc-ing @priyanka-surana for visibility
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).