| 1885 | } |
| 1886 | |
| 1887 | void TOPPViewBase::annotateWithID() |
| 1888 | { // this should only be callable if current layer's type is one of DT_PEAK, DT_FEATURE, DT_CONSENSUS |
| 1889 | LayerDataBase& layer = getActiveCanvas()->getCurrentLayer(); |
| 1890 | LayerAnnotatorPeptideID annotator(this); |
| 1891 | assert(log_ != nullptr); |
| 1892 | if (!annotator.annotateWithFileDialog(layer, *log_, current_path_)) |
| 1893 | { |
| 1894 | return; |
| 1895 | } |
| 1896 | selection_view_->setCurrentIndex(DataSelectionTabs::IDENT_IDX); //switch to ID view |
| 1897 | selection_view_->currentTabChanged(DataSelectionTabs::IDENT_IDX); |
| 1898 | } |
| 1899 | |
| 1900 | void TOPPViewBase::annotateWithOSW() |
| 1901 | { // this should only be callable if current layer's type is of type DT_CHROMATOGRAM |
nothing calls this directly
no test coverage detected