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

Method getSubtreeStatus

src/openms_gui/source/VISUAL/TOPPASVertex.cpp:363–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361 }
362
363 TOPPASVertex::SUBSTREESTATUS TOPPASVertex::getSubtreeStatus() const
364 {
365 if (!this->isFinished())
366 {
367 return TV_UNFINISHED;
368 }
369 if (!this->isUpstreamFinished())
370 {
371 return TV_UNFINISHED_INBRANCH; // only looks for immediate predecessors!
372 }
373 for (ConstEdgeIterator it = outEdgesBegin(); it != outEdgesEnd(); ++it)
374 {
375 SUBSTREESTATUS status = (*it)->getTargetVertex()->getSubtreeStatus();
376 if (status != TV_ALLFINISHED)
377 {
378 return status;
379 }
380 }
381 return TV_ALLFINISHED;
382 }
383
384 const TOPPASVertex::RoundPackages& TOPPASVertex::getOutputFiles() const
385 {

Callers 1

checkIfWeAreDoneMethod · 0.80

Calls 3

isFinishedMethod · 0.95
isUpstreamFinishedMethod · 0.95
getTargetVertexMethod · 0.80

Tested by

no test coverage detected