Skip to content

Improve logParser behaviour when jO is not found [skip modfiles]

Spyros Argyropoulos requested to merge logParser into master

If a jO was renamed the logParser would crash with the cryptic message

RuntimeError: Unknown format of jO file: 
Should look something like ./421xxx/421001/

Now it will crash like this:

RuntimeError: ERROR: jobOptions not found in git!

This happened in Serena's tests since she was using a file which had a non-acceptable name, so the check_jo_consistency CI job would fail.

At least it's good that the machinery does not allow simple renamings of files without rerunning athena, so this is just a cosmetic change.

Merge request reports