Skip to content

Commit

Permalink
add warning about unstable API (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemhenry authored May 13, 2022
1 parent b1a063f commit 7ff37e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pymbar/bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
#=============================================================================================
# IMPORTS
#=============================================================================================
import warnings
import numpy as np
import numpy.linalg
from pymbar.utils import ParameterError, ConvergenceError, BoundsError, logsumexp
Expand Down Expand Up @@ -523,6 +524,7 @@ def BARoverlap(w_F, w_R):
"""
from pymbar import MBAR
warnings.warn("Warning: This API is experimental and subject to change in future releases", FutureWarning)
N_k = np.array( [len(w_F), len(w_R)] )
N = N_k.sum()
u_kn = np.zeros([2,N], np.float32)
Expand Down

0 comments on commit 7ff37e9

Please sign in to comment.