 |
OpenMS
3.0.0
|
|
Go to the documentation of this file.
40 #include <QtCore/QObject>
96 void setCallbacks(std::function<
void(
const String&)> callbackStdOut, std::function<
void(
const String&)> callbackStdErr);
109 RETURNSTATE run(
const QString& exe,
const QStringList& args,
const QString& working_dir,
const bool verbose,
String& error_msg, IO_MODE io_mode = IO_MODE::READ_WRITE);
117 void processStdOut_();
118 void processStdErr_();
A wrapper around QProcess to conveniently start an external program and forward its outputs.
Definition: ExternalProcess.h:62
Base class for TOPP applications.
Definition: TOPPBase.h:147
QProcess * qp_
pointer to avoid including the QProcess header here (it's huge)
Definition: ExternalProcess.h:121
std::function< void(const String &)> callbackStdOut_
Definition: ExternalProcess.h:122
void store(const String &filename, const PeakMap &map) const
Stores a map in an MzML file.
void setCoefficients(const MZTrafoModel &rhs)
Copy model coefficients from another model.
File adapter for MzML files.
Definition: MzMLFile.h:57
A more convenient string class.
Definition: String.h:58
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:70
std::vector< Int > IntList
Vector of signed integers.
Definition: ListUtils.h:55
A mass recalibration method using linear/quadratic interpolation (robust/weighted) of given reference...
Definition: InternalCalibration.h:62
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
void load(const String &filename, PeakMap &map)
Loads a map from a MzML file. Spectra and chromatograms are sorted by default (this can be disabled u...
static void applyTransformation(std::vector< Precursor > &pcs, const MZTrafoModel &trafo)
Transform a precursor's m/z.
RETURNSTATE
result of calling an external executable
Definition: ExternalProcess.h:69
Calibration of m/z positions.
Definition: DataProcessing.h:69
IO_MODE
Open mode for the process.
Definition: ExternalProcess.h:78
std::function< void(const String &)> callbackStdErr_
Definition: ExternalProcess.h:123
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:71
int verbose
Verbosity level ( "-v" is 1 and "-V" is 2 )
Create and apply models of a mass recalibration function.
Definition: MZTrafoModel.h:64
void setLogType(LogType type) const
Sets the progress log that should be used. The default type is NONE!