OpenMS
2.7.0
|
A multi-tabbed widget for the SwathWizard offering setting of parameters, input-file specification and running Swath and more. More...
#include <OpenMS/VISUAL/DIALOGS/SwathTabWidget.h>
Public Member Functions | |
SwathTabWidget (QWidget *parent=nullptr) | |
~SwathTabWidget () | |
StringList | getMzMLInputFiles () const |
QStringList | getPyProphetOutputFileNames () const |
Private Slots | |
void | on_run_swath_clicked () |
void | on_edit_advanced_parameters_clicked () |
void | broadcastNewCWD_ (const QString &new_cwd) |
update the current working directory for all file input fields More... | |
void | on_btn_runPyProphet_clicked () |
void | on_btn_pyresults_clicked () |
void | on_pushButton_clicked () |
Private Member Functions | |
bool | findPythonScript_ (const String &path_to_python_exe, String &script_name) |
void | updateSwathParamFromWidgets_ () |
collect all parameters throughout the Wizard's controls and update 'swath_param_' More... | |
void | updateWidgetsfromSwathParam_ () |
update Widgets given a param object More... | |
QString | getCurrentOutDir_ () const |
where to write OSW output and pyProphet output More... | |
std::vector< std::pair< String, bool > > | getPyProphetInputFiles () const |
void | checkPyProphetInput_ () |
check if input to pyProphet is already present in the output directory of OSW More... | |
void | writeLog_ (const QString &text, const QColor &color="#000000", bool new_section=false) |
fill osw_result_files_ according to the the currently specified input mzMLs More... | |
void | writeLog_ (const String &text, const QColor &color="#000000", bool new_section=false) |
convenient overload for String More... | |
bool | checkOSWInputReady_ () |
Private Attributes | |
Ui::SwathTabWidget * | ui |
Param | swath_param_ |
the global Swath parameters which will be passed to OpenSwathWorkflow.exe, once updated with parameters the Wizard holds separately More... | |
Param | swath_param_wizard_ |
small selection of important parameters which the user can directly change in the Wizard More... | |
StringList | osw_result_files_ |
list of .osw files produced by OSW which are currently available More... | |
ExternalProcessMBox | ep_ |
to run external programs and pipe their output into our log More... | |
Friends | |
class | SwathGUILock |
A multi-tabbed widget for the SwathWizard offering setting of parameters, input-file specification and running Swath and more.
|
explicit |
~SwathTabWidget | ( | ) |
|
privateslot |
update the current working directory for all file input fields
|
private |
Ensure all input widgets are filled with data by the user to run OpenSwathWorkflow If anything is missing: show a Messagebox and return false.
|
private |
check if input to pyProphet is already present in the output directory of OSW
find the path of a Script, given the location of python(.exe). E.g. pyprophet.exe or feature_alignment.py Returns true on success, with the full path in script_name
|
private |
where to write OSW output and pyProphet output
StringList getMzMLInputFiles | ( | ) | const |
|
private |
translate the current list of input mzMLs and the current output directory of OSW to a list of expected OSW output files == pyProphet input files The bool indicates if the file is already present
QStringList getPyProphetOutputFileNames | ( | ) | const |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
private |
collect all parameters throughout the Wizard's controls and update 'swath_param_'
|
private |
update Widgets given a param object
|
private |
fill osw_result_files_ according to the the currently specified input mzMLs
append text to the log tab
text | The text to write |
new_section | Start a new block with a date and time |
|
private |
convenient overload for String
|
friend |
|
private |
to run external programs and pipe their output into our log
|
private |
list of .osw files produced by OSW which are currently available
|
private |
the global Swath parameters which will be passed to OpenSwathWorkflow.exe, once updated with parameters the Wizard holds separately
|
private |
small selection of important parameters which the user can directly change in the Wizard
|
private |