Skip to content

Commit

Permalink
Merge pull request #155 from mrshirts/warning
Browse files Browse the repository at this point in the history
changes to warning to make clear what is deprecated.
  • Loading branch information
kyleabeauchamp committed Jan 11, 2015
2 parents d38f41a + 785acc9 commit c7a7bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymbar/mbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ def computeExpectations(self, A_n, u_kn=None, output='averages', state_dependent
dims = len(np.shape(A_n))

if dims > 2:
print("expecting dim=2 (state_dependent=True) or dim=1 for (state_dependent=False) observables")
print("Warning: dim=3 for (state_dependent==True) matrices for observables and dim=2 for (state_dependent==False) observables are deprecated; we suggest you convert to NxK form instead of NxKxK form.")

if not state_dependent:
if dims==2:
Expand Down

0 comments on commit c7a7bbc

Please sign in to comment.