When an error in the underlying TTVFast library occurs, the process exits which is not noticeable by the python interpreter, and causes issues when running under emcee.
This change:
swaps the underlying TTVFast library for my fork which conveys errors through an error state enum rather than just exiting uncleanly
handles the errors in the python module wrapper file to raise a Python exception
I've submitted the first change to upstream, and if/when they merge I shall change the submodule back to keep consistency.
When an error in the underlying
TTVFast
library occurs, the process exits which is not noticeable by the python interpreter, and causes issues when running underemcee
.This change:
TTVFast
library for my fork which conveys errors through an error state enum rather than just exiting uncleanlyI've submitted the first change to upstream, and if/when they merge I shall change the submodule back to keep consistency.