Skip to content

Add ability to provide custom defaults for publishDir directive via config file #4186

@pditommaso

Description

@pditommaso

This ticket aims to provide the ability to custom default settings for the publishDir directive via the nextflow.config file.

The default settings should be provided using the nextflow.defaults.publishDir configuration scope. For example:

nextflow {
  defaults {
    publishDir = [mode: 'copy', enabled: false]
  }
}

When provided, they should override the built-in default settings and applied when creating a PublishDir instance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions