We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 683bd71 commit 76965a9Copy full SHA for 76965a9
packages/nextclade/src/qc/qc_rule_recombinants.rs
@@ -139,7 +139,8 @@ pub fn rule_recombinants(
139
140
let ls_strategy_score = label_switching.as_ref().map_or(0.0, |ls| ls.score);
141
142
- let overall_score = (wt_strategy_score + ls_strategy_score) * *config.score_weight;
+ let wt_score_contribution = if wt_config.enabled { wt_strategy_score } else { 0.0 };
143
+ let overall_score = (wt_score_contribution + ls_strategy_score) * *config.score_weight;
144
let status = QcStatus::from_score(overall_score);
145
146
Some(QcResultRecombinants {
0 commit comments