| 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 | { |
nothing calls this directly
no test coverage detected