Skip to content

Commit

Permalink
version bump to 0.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
rneher committed Sep 8, 2022
1 parent 0e99b33 commit b4391b2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# 0.9.3

* Add extra error class for "unknown" (==unhandled) errors
* Wrap `run` function and have it optionally raise unhandled exceptions as `TreeTimeUnknownError`.
This is mainly done to improve interaction with `augur` that uses `TreeTime` internals as a library.
(both by @anna-parker with input from @victorlin)

[PR #206](https://github.com/neherlab/treetime/pull/206)
[PR #208](https://github.com/neherlab/treetime/pull/208)

# 0.9.2
bug fix release:
* CLI now works for windows (thanks @corneliusroemer for the fix)
Expand Down
8 changes: 4 additions & 4 deletions treetime/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
version="0.9.2"
version="0.9.3"
## Here we define an error class for TreeTime errors, MissingData, UnknownMethod and NotReady errors
## are all due to incorrect calling of TreeTime functions or input data that does not fit our base assumptions.
## Errors marked as TreeTimeUnknownErrors might be due to data not fulfilling base assumptions or due
## to bugs in TreeTime. Please report them to the developers if they persist.
## Errors marked as TreeTimeUnknownErrors might be due to data not fulfilling base assumptions or due
## to bugs in TreeTime. Please report them to the developers if they persist.
class TreeTimeError(Exception):
"""
TreeTimeError class
Parent class for more specific errors
Raised when treetime is used incorrectly in contrast with `TreeTimeUnknownError`
`TreeTimeUnknownError` is raised when the reason of the error is unknown, could indicate bug
`TreeTimeUnknownError` is raised when the reason of the error is unknown, could indicate bug
"""
pass

Expand Down

0 comments on commit b4391b2

Please sign in to comment.