Skip to content

Commit

Permalink
Use same ValidationParam as parsed one and define a default pepSetSco…
Browse files Browse the repository at this point in the history
…ring if none is specified (MASCOT_STANDARD_SCORE)
  • Loading branch information
VeroDup committed Jun 22, 2021
1 parent c2f0ff2 commit 0fb0ac0
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,12 +273,7 @@ class ImportValidateGenerateSM extends AbstractRemoteProcessingService with IImp
val rsValidator = ResultSetValidator(
execContext = execCtx,
targetRs = currentRS,
validationConfig = ValidationConfig(
pepMatchPreFilters = validationParam.pepMatchPreFilters,
pepMatchValidator = validationParam.pepMatchValidator,
protSetFilters = validationParam.protSetFilters,
protSetValidator = validationParam.protSetValidator,
pepSetScoring = Some(validationParam.pepSetScoring.getOrElse(PepSetScoring.MASCOT_STANDARD_SCORE))),
validationConfig = validationParam.copy(pepSetScoring= Some(validationParam.pepSetScoring.getOrElse(PepSetScoring.MASCOT_STANDARD_SCORE))),
inferenceMethod = Some(InferenceMethod.PARSIMONIOUS),
storeResultSummary = true,
propagatePepMatchValidation = false,
Expand Down

0 comments on commit 0fb0ac0

Please sign in to comment.