Skip to content

Commit

Permalink
adding missing ScoreType to input
Browse files Browse the repository at this point in the history
  • Loading branch information
theGreatHerrLebert committed Oct 17, 2024
1 parent cdaa093 commit 9014727
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/sage-cli/src/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ pub struct Input {

annotate_matches: Option<bool>,
write_pin: Option<bool>,
score_type: Option<ScoreType>,
}

#[derive(Serialize, Deserialize, Debug)]
Expand Down Expand Up @@ -314,6 +315,7 @@ impl Input {
output_paths: Vec::new(),
write_pin: self.write_pin.unwrap_or(false),
bruker_spectrum_processor: self.bruker_spectrum_processor.unwrap_or_default(),
score_type: self.score_type.unwrap_or(ScoreType::SageHyperScore),
})
}
}
Expand Down

0 comments on commit 9014727

Please sign in to comment.