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

Method hasData

src/openms_gui/source/VISUAL/DIATreeTab.cpp:249–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247
248
249 bool DIATreeTab::hasData(const LayerDataBase* layer)
250 {
251 if (auto* lp = dynamic_cast<const LayerDataChrom*>(layer))
252 {
253 OSWData* data = lp->getChromatogramAnnotation().get();
254 return (data != nullptr && !data->getProteins().empty());
255 }
256 return false;
257 }
258
259 void DIATreeTab::updateEntries(LayerDataBase* layer)
260 {

Callers 1

callUpdateEntriesMethod · 0.45

Calls 2

getMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected