Always print stdout/stderr, even when crashing
Currently if ComputeJStatistic
or viterbi_jstat_search
crashes, the standard output and standard error are swallowed, making debugging difficult. Instead, print both of them out (and re-throw the exception in case any calling code does something with it).
flake8
: produces many warnings but none in the code I changed :)
tox
: couldn’t get this to run—if it’s important I’ll try to figure out why not?