payu-org / payu

A workflow management tool for numerical models on the NCI computing systems
Apache License 2.0
18 stars 25 forks source link

Bug in set_counter #369

Closed jo-basevi closed 9 months ago

jo-basevi commented 9 months ago

There's a bug in set counter which doesn't check max_output_index/max_restart_index for None, so counter is set incorrectly for the second run (i.e when max_output_index is 0)

Just needs if-statements in set_counter to be tweaked.