Skip to content

Commit 9f7f859

Browse files
authored
Remove unnecessary division of mism penalty by k (#16)
1 parent 6d9656d commit 9f7f859

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

veritymap/src/projects/veritymap/config/config.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Config Config::load_config_file(const std::filesystem::path& config_fn) {
4242
stod(m.at("min_score")),
4343
stod(m.at("max_top_score_prop")),
4444
stoll(m.at("max_jump")),
45-
stod(m.at("misassembly_penalty_base")) / stod(m.at("k")),
45+
stod(m.at("misassembly_penalty_base")),
4646
stod(m.at("diff_penalty_mult")),
4747
stoull(m.at("min_chain_range")),
4848
stoull(m.at("max_supp_dist_diff")),
@@ -52,4 +52,4 @@ Config Config::load_config_file(const std::filesystem::path& config_fn) {
5252
Config::Chain2SAMParams chain_2_sam_params{stod(m.at("min_end_ident")), ksw_2_params};
5353

5454
return Config{common_params, hash_params, kmer_indexer_params, chaining_params, chain_2_sam_params};
55-
}
55+
}

0 commit comments

Comments
 (0)