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

Method logToolFailed

src/openms_gui/source/VISUAL/TOPPASScene.cpp:1397–1417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1395 }
1396
1397 void TOPPASScene::logToolFailed()
1398 {
1399 TOPPASToolVertex* tv = qobject_cast<TOPPASToolVertex*>(QObject::sender());
1400 if (tv)
1401 {
1402 String text = tv->getName();
1403 String type = tv->getType();
1404 if (!type.empty())
1405 {
1406 text += " (" + type + ")";
1407 }
1408 text += " failed!";
1409
1410 if (!gui_)
1411 {
1412 std::cout << '\n' << text << std::endl;
1413 }
1414
1415 writeToLogFile_(text.toQString());
1416 }
1417 }
1418
1419 void TOPPASScene::logToolCrashed()
1420 {

Callers

nothing calls this directly

Calls 4

getNameMethod · 0.45
getTypeMethod · 0.45
emptyMethod · 0.45
toQStringMethod · 0.45

Tested by

no test coverage detected