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

Method run

src/openms_gui/source/VISUAL/TOPPASInputFileListVertex.cpp:115–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113 }
114
115 void TOPPASInputFileListVertex::run()
116 {
117 round_total_ = (int) output_files_.size(); // for now each file is one round; for the future we might allow to create blocks of files (e.g. for replicate measurements)
118 round_counter_ = (int) round_total_;
119
120 this->finished_ = true; // input node is ready to go (file check was already done)
121
122 //std::cerr << "#" << this->getTopoNr() << " set #rounds: " << round_total_ << "\n";
123
124 for (ConstEdgeIterator it = outEdgesBegin(); it != outEdgesEnd(); ++it)
125 {
126 TOPPASVertex* tv = (*it)->getTargetVertex();
127 if (tv && !tv->isFinished()) // this tool might have already been called by another path, so do not call it again (as this will throw an error)
128 {
129 tv->run();
130 }
131 }
132 }
133
134 void TOPPASInputFileListVertex::setKey(const QString& key)
135 {

Callers

nothing calls this directly

Calls 3

getTargetVertexMethod · 0.80
isFinishedMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected