Skip to content

Commit

Permalink
XspectraCalculation: Change of walltime error code
Browse files Browse the repository at this point in the history
Addresses PR #837

Changes error code from 315 to 400 to match conventions

Co-authored-by: Sebastiaan Huber <mail@sphuber.net>
  • Loading branch information
PNOGillespie and sphuber authored Sep 12, 2022
1 parent 63b32f6 commit 746770e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aiida_quantumespresso/calculations/xspectra.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ def define(cls, spec):
message='xiabs was either set to 0 or less, or was greater than ntyp.'
)
spec.exit_code(
315,
'ERROR_OUTPUT_TIME_LIMIT_EXCEEDED',
400,
'ERROR_OUT_OF_WALLTIME',
message='The time limit set for the calculation was exceeded, and the job wrote a save file '
'before exiting.'
)
Expand Down

0 comments on commit 746770e

Please sign in to comment.