| 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 | { |
no test coverage detected