Skip to content

Commit

Permalink
HLA-727 Description of Exit Codes in documentation (#1781)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-goldman authored Mar 27, 2024
1 parent 1f9afa2 commit 3094f08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions doc/source/mast_data_products/hap_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ runsinglehap.py is the module which controls the SVM processing.

runmultihap.py is the module which controls the MVM processing.

Sucessful code will result in an exit code of 0. If there is an error, the exit code will be non-zero.
An exit code of 55 is for data containing only SBC or HRC data, and an exit code of 65 is for "no viable data".

.. toctree::
:maxdepth: 1

Expand Down
2 changes: 1 addition & 1 deletion drizzlepac/haputils/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class Messages(Enum):
Define a local classification for OK, Warning, and NoProcess messages
"""

OK, WARN, NOPROC = 1, -1, -2
WARN, NOPROC = -1, -2


def mvm_analyze_wrapper(input_filename, log_level=logutil.logging.DEBUG):
Expand Down

0 comments on commit 3094f08

Please sign in to comment.