Skip to content

Commit

Permalink
Update the QC test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ABignaud committed Apr 3, 2023
1 parent f2b7a85 commit 08e02d1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/test_quality_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_extract_pairs():
"NODE_2398",
]
n_pairs = mtq.extract_pairs(pairs_files, out_file, contigs, contigs_data)
assert n_pairs == 1345
assert n_pairs == 1310


def test_hic_quality():
Expand All @@ -46,7 +46,8 @@ def test_hic_quality():
n_religated,
n_loops,
n_weirds,
n_informative,
n_informative_intra,
n_informative_inter,
n_intra_mags,
n_inter_mags,
) = mtq.hic_quality(
Expand All @@ -65,9 +66,10 @@ def test_hic_quality():
assert n_religated == 1
assert n_loops == 1
assert n_weirds == 394
assert n_informative == 911
assert n_intra_mags == 1307
assert n_inter_mags == 38
assert n_informative_intra == 882
assert n_informative_inter == 15
assert n_intra_mags == 1293
assert n_inter_mags == 17
os.remove("tests_data/outdir/alignment_large.pairs")
os.remove("tests_data/outdir/alignment_large.pairs.idx")

Expand Down

0 comments on commit 08e02d1

Please sign in to comment.