nextflow-io / nextflow-io/nextflow
Separate the store directory from the filename in the trace, dag, report, and timeline scopes
@bentsherman is already working on this.
Since Apr 28, 2025.
- Dominant language
- Groovy
- Stars
- 3.5k
- Forks
- 811
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 61
Description
New feature
It would be nice if the configuration scopes report, trace, dag, and timeline had separate
settings to control the directory they're stored in and separately what to name the file.
report {
enabled = true
directory = "${params.outdir}/pipeline_info"
filename = "report.html"
overwrite = true
}
Or perhaps have this also somehow linked with the new publishing syntax too since it feels like it should be related in some way.
E.g. rather than a config scope, have a function or something special that's limited in where it can be placed which can be set by the publishing syntax.
workflow {
...
publish:
workflow.dag() >> 'pipeline_info/'
workflow.report() >> 'pipeline_info/'
workflow.timeline() >> 'pipeline_info/'
workflow.trace() >> 'pipeline_info/'
}
Usage scenario
I would like to not change the filename ( and have the timestamp and session_id ), but only update where I want to store
the reports.
Suggest implementation
(Highlight the main building blocks of a possible implementation and/or related components)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.