Closed pindakaas42 closed 4 years ago
I will consider it. Under the hood, above commands are cpptraj
's commands and pytraj
just sends them directly to cpptraj
and retrieve the output from cpptraj
. But you might be right. Let me see if it's easier to send the error from C++ to pytraj in this case to raise error earlier.
fixed in #1554
thanks @pindakaas42
I am often using pt.compute and i noticed that this:
will not raise an error. But instead print an error message to the screen.
Catching the error on the library site is quite bad because this way pytraj silently fails, without me being alarmed about it.