Skip to content

Commit

Permalink
Merge pull request #1367 from nextstrain/james/treetime-exit-code
Browse files Browse the repository at this point in the history
Exit code 2 if TreeTimeError encountered
  • Loading branch information
jameshadfield authored Dec 20, 2023
2 parents 7474a2d + e98f088 commit 52a0366
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@
* `--tree` and `--ancestral-sequences` are now required arguments.
* separate VCF-only arguments into their own group
* translate: Fixes a bug in the parsing behaviour of GFF files whereby the presence of the `--genes` command line argument would change how we read individual GFF lines. Issue [#1349][], PR [#1351][] (@jameshadfield)
* If `TreeTimeError` is encountered Augur now exits with code 2 rather than 0. (This restores the original behaviour.) [#1367][] (@jameshadfield)


[#1344]: https://github.com/nextstrain/augur/pull/1344
[#1348]: https://github.com/nextstrain/augur/pull/1348
[#1351]: https://github.com/nextstrain/augur/pull/1351
[#1349]: https://github.com/nextstrain/augur/issues/1349
[#1367]: https://github.com/nextstrain/augur/pull/1367

## 23.1.1 (7 November 2023)

Expand Down
1 change: 1 addition & 0 deletions augur/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ def run(argv):
Please check your input data and try again. If you continue to have problems, please open a new issue including
the original command and the error above: <https://github.com/nextstrain/augur/issues/new/choose>
"""))
sys.exit(2)
except Exception:
traceback.print_exc(file=sys.stderr)
print_err("\n")
Expand Down

0 comments on commit 52a0366

Please sign in to comment.