Skip to content

Commit

Permalink
fix bug due to numpy upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantinstadler committed Aug 13, 2024
1 parent 69aeeaf commit 6ae4ba2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ def test_parse_exio_ext():
col1, index_col=1, name="col1", sep="\t", drop_compartment=False
)

assert np.allclose(ext5.F, ext3.F, ext2.F, ext1.F, ext5_wcmp.F)
pdt.assert_frame_equal(ext1.F, ext2.F)
pdt.assert_frame_equal(ext1.F, ext3.F)
pdt.assert_frame_equal(ext1.F, ext5.F)
pdt.assert_frame_equal(ext1.F, ext5_wcmp.F.droplevel("compartment"))

assert ext5.F.iloc[1, 1] == 102
assert ext5.F.iloc[-1, -1] == 148
Expand Down

0 comments on commit 6ae4ba2

Please sign in to comment.