payu-org / payu

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

Add postscript action to non-collate jobs #297

Closed aidanheerdegen closed 3 years ago

aidanheerdegen commented 3 years ago

Closes #289

Add logic to run the postscript action for jobs which do not collate, which ensures postscript will always run once an output directory is guaranteed not to change as a result of an action by payu.

Tested and works fine. Not sure if there is a simple pytest I could add for this unfortunately.

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.04%) to 42.149% when pulling 7f4d065739321c243a0252214b17709ebf64c84f on issue-289 into b5acde05cb8861e29bea943f39cd419eb20ebbaa on master.

aidanheerdegen commented 3 years ago

Dunno why it was still a draft, but I'll assume you're ok with this @marshallward and merge it as it's a pretty minor change.

aidanheerdegen commented 3 years ago

I remembered why it was still a draft, needed to update the docs! Damn.