Closed aidanheerdegen closed 11 months ago
In a recent PR (https://github.com/payu-org/payu/pull/366) added a routine for finding restart and output directories:
https://github.com/payu-org/payu/blob/master/payu/experiment.py#L206
Unfortunately this doesn't support run counter numbers > 999, which occurs and is supported ... imperfectly:
https://github.com/payu-org/payu/issues/232
I didn't notice this when I reviewed, apologies.
It is an easy fix: just make the regex support any number of digits after the output_type string.
output_type
In a recent PR (https://github.com/payu-org/payu/pull/366) added a routine for finding restart and output directories:
https://github.com/payu-org/payu/blob/master/payu/experiment.py#L206
Unfortunately this doesn't support run counter numbers > 999, which occurs and is supported ... imperfectly:
https://github.com/payu-org/payu/issues/232
I didn't notice this when I reviewed, apologies.
It is an easy fix: just make the regex support any number of digits after the
output_type
string.