Skip to content

Commit

Permalink
remove deprecated pandas functions
Browse files Browse the repository at this point in the history
  • Loading branch information
cdiener authored and Midnighter committed May 29, 2018
1 parent f8daae1 commit 4aaa8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cobra/test/test_flux_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ def test_inhomogeneous_sanity(self, model):
assert 0.5 < relative_diff.abs().mean() < 2

def test_reproject(self):
s = self.optgp.sample(10, fluxes=False).as_matrix()
s = self.optgp.sample(10, fluxes=False).values
proj = numpy.apply_along_axis(self.optgp._reproject, 1, s)
assert all(self.optgp.validate(proj) == "v")
s = numpy.random.rand(10, self.optgp.warmup.shape[1])
Expand Down

0 comments on commit 4aaa8f3

Please sign in to comment.