MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / getSample

Method getSample

src/openms/source/METADATA/ExperimentalDesign.cpp:591–598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 14

testExperimentalDesignFunction · 0.95
visualize_Method · 0.80
outputTo_Method · 0.80
writeHeader_Method · 0.80
charactersMethod · 0.80
startElementMethod · 0.80
writeToMethod · 0.80
cvParam_Method · 0.80
MzMLFile_test.cppFile · 0.80
MzXMLFile_test.cppFile · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by 2

testExperimentalDesignFunction · 0.76
START_SECTIONFunction · 0.64