static
| 741 | |
| 742 | // static |
| 743 | bool MSExperiment::containsScanOfLevel(size_t ms_level) const |
| 744 | { |
| 745 | //test if no scans with MS-level 1 exist |
| 746 | for (const auto& spec : getSpectra()) |
| 747 | { |
| 748 | if (spec.getMSLevel() == ms_level) |
| 749 | { |
| 750 | return true; |
| 751 | } |
| 752 | } |
| 753 | return false; |
| 754 | } |
| 755 | |
| 756 | bool MSExperiment::hasZeroIntensities(size_t ms_level) const |
| 757 | { |
no test coverage detected