Skip to content

Commit

Permalink
Merge pull request seqan#261 from smehringer/tiny_fix
Browse files Browse the repository at this point in the history
[FIX,DOC] Fix warning output for differing kmer sizes.
  • Loading branch information
eseiler authored Oct 9, 2024
2 parents 35872da + 71ba988 commit 5da8474
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/chopper_layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void validate_configuration(sharg::parser & parser,
"[WARNING] Given k-mer size (",
config.k,
") differs from k-mer size in the sketch file (",
config.k,
sketch_config.k,
"). The results may be suboptimal. If this was a conscious decision, you can ignore this warning.\n");
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/cli/cli_chopper_layout_from_sketch_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ TEST_F(cli_test, chopper_layout_from_sketch_file)
EXPECT_EQ(result2.out, std::string{});
EXPECT_EQ(
result2.err,
std::string{"[WARNING] Given k-mer size (20) differs from k-mer size in the sketch file (20). The results may "
std::string{"[WARNING] Given k-mer size (20) differs from k-mer size in the sketch file (19). The results may "
"be suboptimal. If this was a conscious decision, you can ignore this warning.\n"});

cli_test_result result3 = execute_app("chopper",
Expand Down

0 comments on commit 5da8474

Please sign in to comment.