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

Method getSubsectionDefaults_

src/topp/ConsensusID.cpp:161–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159
160
161 Param getSubsectionDefaults_(const String& section) const override
162 {
163 Param algo_params;
164 if (section == "PEPMatrix")
165 {
166 algo_params = ConsensusIDAlgorithmPEPMatrix().getDefaults();
167 }
168 else // section == "PEPIons"
169 {
170 algo_params = ConsensusIDAlgorithmPEPIons().getDefaults();
171 }
172 // remove parameters defined in the base class (to avoid duplicates):
173 algo_params.remove("filter:");
174 return algo_params;
175 }
176
177
178 void setProteinIdentifications_(vector<ProteinIdentification>& prot_ids)

Callers

nothing calls this directly

Calls 2

getDefaultsMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected