nextflow-io / nextflow-io/nextflow

Separate the store directory from the filename in the trace, dag, report, and timeline scopes

Open
#5,364 10 comments 4 reactions 1 assignee View on GitHub

@bentsherman is already working on this.

Since Apr 28, 2025.

  • #6812 by @bentsherman — closed without merging
  • #7553 by @bentsherman — open
lang/config
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.