Pieter Moris
03/01/2024, 7:09 PM* --max_time: string [7.days] does not match pattern ^(\d+\.?\s*(s|m|h|d|day)\s*)+$ (7.days) errors occur when specifying duration as #.days, even though this seems to be a valid duration type according to the [nextflow docs](https://www.nextflow.io/docs/latest/script.html#duration).
⢠Related: max_time = 7.day and max_time = '7.day' are reported differently by the terminal output at the start of a pipeline (7.day versus `7d`respectively). Quoted vs unquoted memory directives behave similarly. I haven't been able to determine whether they also behave differently, i.e. if they are both correctly parsed by the check_max function, but I fear they might? I tried checking logs and reports, but couldn't figure out what I had to look for. For what it's worth, I've seen both quoted and unquoted memory/time durations being used in various nf-core docs and configs, so I suspect that someone would have noticed if one didn't work as expected?Phil Ewels
03/01/2024, 7:47 PMPieter Moris
03/02/2024, 7:40 AMPieter Moris
03/02/2024, 9:33 AM