Skip to content

Validate --max_memory and --max_time parameters and exit if not a valid Nextflow resource unit #793

@drpatelh

Description

@drpatelh

Using --max_memory 80 should be validated properly as a Nextflow memory unit and if not to generate an error. The correct way of specifying this would be for example --max_memory '42 GB' otherwise the pipeline just allocates a memory value of 0 and still proceeds as normal. This was initially reported here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions