Skip to content

Stricter rules for initialising params with no default value #992

@drpatelh

Description

@drpatelh

It would be good to standardise how we are defining default / empty parameter values in the pipeline nextflow.config. Seeing as we are now validating these parameters against the JSON schema it will be nice to use a uniform approach.

As shouted on Slack:

  • Default values should be specified as usual using native Groovy variable types
  • BOOLEAN PARAMETERS SHOULD BE SET TO false in nextflow.config
  • FILE PATHS / STRINGS / INTEGERS / FLOATS / LISTS / MAPS SHOULD BE SET TO null in nextflow.config

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions