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

Method annotateWithOSW

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

Source from the content-addressed store, hash-verified

1898 }
1899
1900 void TOPPViewBase::annotateWithOSW()
1901 { // this should only be callable if current layer's type is of type DT_CHROMATOGRAM
1902 LayerDataBase& layer = getActiveCanvas()->getCurrentLayer();
1903 LayerAnnotatorOSW annotator(this);
1904 assert(log_ != nullptr);
1905 if (!annotator.annotateWithFileDialog(layer, *log_, current_path_))
1906 {
1907 return;
1908 }
1909 selection_view_->setCurrentIndex(DataSelectionTabs::DIAOSW_IDX); // switch to DIA view
1910 selection_view_->currentTabChanged(DataSelectionTabs::DIAOSW_IDX);
1911 }
1912
1913 void TOPPViewBase::showSpectrumGenerationDialog()
1914 {

Callers

nothing calls this directly

Calls 4

getCurrentLayerMethod · 0.80
setCurrentIndexMethod · 0.80
currentTabChangedMethod · 0.80

Tested by

no test coverage detected