Skip to content

Commit

Permalink
Merge pull request #2304 from nvnieuwk/fix-max_time-template
Browse files Browse the repository at this point in the history
Add `d` to the pattern of max_time
  • Loading branch information
nvnieuwk authored Jun 8, 2023
2 parents 646a566 + e74f588 commit 711d074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nf_core/pipeline-template/nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
"description": "Maximum amount of time that can be requested for any single job.",
"default": "240.h",
"fa_icon": "far fa-clock",
"pattern": "^(\\d+\\.?\\s*(s|m|h|day)\\s*)+$",
"pattern": "^(\\d+\\.?\\s*(s|m|h|d|day)\\s*)+$",
"hidden": true,
"help_text": "Use to set an upper-limit for the time requirement for each process. Should be a string in the format integer-unit e.g. `--max_time '2.h'`"
}
Expand Down

0 comments on commit 711d074

Please sign in to comment.