Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LaraFuhrmann committed Jul 22, 2024
1 parent 62643bc commit d63a5fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_pooled_post.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def open_side_effect(name):

def test__ingest_sampler_results_gamma_theta():
with patch("builtins.open", mock_open(read_data="bla\n#gamma = 0.967662\n\nlolz\n#theta = 0.88\neof")):
out = pooled_post._ingest_sampler_results_gamma_theta(open("debug/dbg.dbg"), "shorah")
out = pooled_post._ingest_sampler_results_gamma_theta(open("work/debug/dbg.dbg"), "shorah")

np.testing.assert_almost_equal(out[0][0], -0.032872426234558716)
np.testing.assert_almost_equal(out[0][1], -3.431512269664515)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_shotgun_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import shutil

cwd = "./data_1"
f_path = "raw_reads/w-HXB2-2804-3004.extended-ref.fas"
f_path = "work/raw_reads/w-HXB2-2804-3004.extended-ref.fas"
base_files = []

@pytest.fixture(scope="session", autouse=True)
Expand Down

0 comments on commit d63a5fc

Please sign in to comment.