33 qRegisterMetaType<pappso::MsRunIdCstSPtr>(
"pappso::MsRunIdCstSPtr");
48 if(fileinfo.fileName() ==
"analysis.tdf")
50 m_fileName = fileinfo.absoluteDir().absolutePath();
64 : m_fileName(other.m_fileName),
65 m_runId(other.m_runId),
66 m_xmlId(other.m_xmlId),
67 m_sampleName(other.m_sampleName),
68 m_mzFormat(other.m_mzFormat)
97 QFileInfo file_info(file_name);
98 QString extension = file_info.suffix();
108 if(extension.toLower() ==
"mzxml")
112 else if(extension.toLower() ==
"mgf")
116 else if(extension.toLower() ==
"mzml")
195 QString text = QString(
199 "sample name: '%4'\n")
MS run identity MsRunId identifies an MS run with a unique ID (XmlId) and contains eventually informa...
MzFormat getMzFormat() const
const QString & getFileName() const
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 setMzFormat(MzFormat format)
void setXmlId(const QString &xml_id)
set an XML unique identifier for this MsRunId
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...