Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fix to support run counter > 999 #372

Closed
aidanheerdegen opened this issue Oct 9, 2023 · 0 comments
Closed

Small fix to support run counter > 999 #372

aidanheerdegen opened this issue Oct 9, 2023 · 0 comments

Comments

@aidanheerdegen
Copy link
Collaborator

In a recent PR (#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:

#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants