Commit 3f023b73 authored by Mathieu Giraud's avatar Mathieu Giraud

tests: update unit tests, e-value to 0.01

Now that we check e-values to get UNSEG_ONLY_V/J status,
an e-value of 1.0 is not meaningful here.

See #2107.
parent 330c03e8
......@@ -148,7 +148,7 @@ void testSegmentationCause(IndexTypes index) {
int nb_checked = 0;
for (int i = 0; i < data.size(); i++) {
KmerSegmenter ks(data.read(i), germline);
KmerSegmenter ks(data.read(i), germline, 0.01);
if (data.read(i).label == "seq-seg+") {
TAP_TEST(ks.isSegmented(), TEST_KMER_IS_SEGMENTED, "seq is " << data.label(i));
......@@ -269,7 +269,9 @@ void testExtractor(IndexTypes index) {
we.setSegmentedOutput(&out_seg);
we.setUnsegmentedOutput(&out_unseg);
WindowsStorage *ws = we.extract(&data, 30, labels);
WindowsStorage *ws = we.extract(&data, 30, labels,
false, false,
0.01);
// we.out_stats(cout);
TAP_TEST(we.getNbReads() == 15, TEST_EXTRACTOR_NB_READS, "");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment