You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In line 1963 of pymbar/pymbar/mbar.py, the code tries to catch a ConvergenceError that is nowhere defined in that file. Hence, if that part of the code is reached, one gets a NameError.
The simple solution is to import the ConvergenceError from pymbar.utils at the top of the file.
As a related question: At the same place of the code, would it also make sense to catch the pymbar.utils.BoundsError that, as the pymbar.utils.ConvergenceError, can be thrown by the bar function?
The text was updated successfully, but these errors were encountered:
In line 1963 of pymbar/pymbar/mbar.py, the code tries to catch a
ConvergenceError
that is nowhere defined in that file. Hence, if that part of the code is reached, one gets aNameError
.The simple solution is to import the
ConvergenceError
frompymbar.utils
at the top of the file.As a related question: At the same place of the code, would it also make sense to catch the
pymbar.utils.BoundsError
that, as thepymbar.utils.ConvergenceError
, can be thrown by thebar
function?The text was updated successfully, but these errors were encountered: