Closed dotsdl closed 4 years ago
Looks like we're also being hit by the latest black update here.
The CI failure is for the new code, right?
On the black
changes, I think let's try to merge some PRs, then do a separate one for formatting.
@loriab ah yes, you're right. It looks like my changes to the error message pathways mangled what is expected in those tests. I'll dive into these to find what's going awry.
Found the issue that was causing tests to fail; was an inconsistency in the error handling logic. Fixed and moved to its own function so we don't have the same delicate decision tree in two places.
Should be good to go if all tests pass on Travis!
@loriab this one is ready to go! Should improve our error reporting from psi4 failures substantially!
great, thanks, this was the PR I was keen to get in!
Description
Currently, useful error reporting with
psi4
under thePsi4Harness
can be lost due to a missing"success"
key onoutput_data
. This PR makes attempted access of this key returnFalse
if not present.Credit to @dgasmith for pointing this out.
Changelog description
Error messages from
Psi4Harness
no longer swallowed byKeyError
.Status