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

Method annotateWithAMS

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

Source from the content-addressed store, hash-verified

1874 }
1875
1876 void TOPPViewBase::annotateWithAMS()
1877 { // this should only be callable if current layer's type is of type DT_PEAK
1878 LayerDataBase& layer = getActiveCanvas()->getCurrentLayer();
1879 LayerAnnotatorAMS annotator(this);
1880 assert(log_ != nullptr);
1881 if (!annotator.annotateWithFileDialog(layer, *log_, current_path_))
1882 {
1883 return;
1884 }
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

Callers

nothing calls this directly

Calls 2

getCurrentLayerMethod · 0.80

Tested by

no test coverage detected