| 263 | const char* msg_no_osws = "select mzML input files in 'LC-MS files' tab first and pick an output directory in 'Run OpenSwath' tab"; |
| 264 | |
| 265 | void SwathTabWidget::checkPyProphetInput_() |
| 266 | { |
| 267 | // populate the file list widget for pyProphet input |
| 268 | auto& tbl = *(ui->tbl_py_osws); |
| 269 | tbl.setRowCount(0); // clear the table; clear() does not resize the table! |
| 270 | auto files = getPyProphetInputFiles(); |
| 271 | if (files.empty()) |
| 272 | { |
| 273 | tbl.appendRow(); |
| 274 | tbl.setAtBottomRow(msg_no_osws, 0, Qt::white, Qt::gray); |
| 275 | } |
| 276 | else |
| 277 | { |
| 278 | for (const auto& file : files) |
| 279 | { |
| 280 | tbl.appendRow(); |
| 281 | tbl.setAtBottomRow(file.first.c_str(), 0, Qt::white, |
| 282 | file.second ? Qt::black : Qt::red) |
| 283 | ->setCheckState(Qt::Unchecked); |
| 284 | } |
| 285 | } |
| 286 | // set label at bottom |
| 287 | ui->lbl_pyOutDir->setText("Results can be found in '" + getCurrentOutDir_() + |
| 288 | "'. If pyProphet ran, there will be PDF files with model statistics and TRIC will " |
| 289 | "generate TSV files (tric_aligned.tsv and tric_aligned_matrix.tsv) for downstream processing.\n To view results interactively, open them in TOPPView."); |
| 290 | } |
| 291 | |
| 292 | void SwathTabWidget::writeLog_(const QString& text, const QColor& color, bool new_section) |
| 293 | { |
nothing calls this directly
no test coverage detected