| 589 | } |
| 590 | |
| 591 | unsigned ExperimentalDesign::getSample(unsigned fraction_group, unsigned label) |
| 592 | { |
| 593 | return std::find_if(msfile_section_.begin(), msfile_section_.end(), |
| 594 | [&fraction_group, &label](const MSFileSectionEntry& r) |
| 595 | { |
| 596 | return r.fraction_group == fraction_group && r.label == label; |
| 597 | })->sample; |
| 598 | } |
| 599 | |
| 600 | const ExperimentalDesign::SampleSection& ExperimentalDesign::getSampleSection() const |
| 601 | { |