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

Method annotateWithID

src/openms_gui/source/VISUAL/APPLICATIONS/TOPPViewBase.cpp:1887–1898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 4

getCurrentLayerMethod · 0.80
setCurrentIndexMethod · 0.80
currentTabChangedMethod · 0.80

Tested by

no test coverage detected