47 if(fileinfo.fileName() ==
"analysis.tdf")
49 m_fileName = fileinfo.absoluteDir().absolutePath();
62 : m_fileName(other.m_fileName),
63 m_runId(other.m_runId),
64 m_xmlId(other.m_xmlId),
65 m_sampleName(other.m_sampleName),
66 m_mzFormat(other.m_mzFormat)
94 QFileInfo fileinfo(file_name);
95 if(fileinfo.fileName() ==
"analysis.tdf")
97 m_fileName = fileinfo.absoluteDir().absolutePath();
104 QString extension = fileinfo.suffix();
114 if(extension.toLower() ==
"mzxml")
118 else if(extension.toLower() ==
"mgf")
122 else if(extension.toLower() ==
"mzml")
201 QString text = QString(
205 "sample name: '%4'\n")
MS run identity MsRunId identifies an MS run with a unique ID (XmlId) and contains eventually informa...
const QString & getFileName() const
Enums::MsDataFormat getMsDataFormat() const
void setMsDataFormat(Enums::MsDataFormat format)
const QString & getXmlId() const
void setFileName(const QString &file_name)
MsRunId & operator=(const MsRunId &other)
const QString & getRunId() const
const QString & getSampleName() const
void setRunId(const QString &run_id)
void setXmlId(const QString &xml_id)
set an XML unique identifier for this MsRunId
Enums::MsDataFormat m_mzFormat
void setSampleName(const QString &name)
set a sample name for this MsRunId
bool operator==(const MsRunId &other) const
int msRunIdCstSPtrMetaTypeId
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...