| 565 | |
| 566 | |
| 567 | void IdentificationData::addScore(ObservationMatchRef match_ref, |
| 568 | ScoreTypeRef score_ref, double value) |
| 569 | { |
| 570 | if (!no_checks_ && !isValidReference_(score_ref, score_types_)) |
| 571 | { |
| 572 | String msg = "invalid reference to a score type - register that first"; |
| 573 | throw Exception::IllegalArgument(__FILE__, __LINE__, |
| 574 | OPENMS_PRETTY_FUNCTION, msg); |
| 575 | } |
| 576 | |
| 577 | ModifyMultiIndexAddScore<ObservationMatch> modifier(score_ref, value); |
| 578 | observation_matches_.modify(match_ref, modifier); |
| 579 | } |
| 580 | |
| 581 | |
| 582 | void IdentificationData::setCurrentProcessingStep(ProcessingStepRef step_ref) |
no test coverage detected