libpappsomspp
Library for mass spectrometry
msfilereader.cpp
Go to the documentation of this file.
1#include <pwiz/data/msdata/DefaultReaderList.hpp>
2
3#include <QDebug>
4#include <QFile>
5#include <QFileInfo>
6
7
8#include "msfilereader.h"
9
10#include "../exception/exceptionnotfound.h"
11#include "../utils.h"
12#include "../msrun/msrunid.h"
13
14
15namespace pappso
16{
17
18
19MsFileReader::MsFileReader(const QString &file_name) : m_fileName{file_name}
20{
21 QFile file(file_name);
22 if(!file.exists())
23 throw(ExceptionNotFound(QObject::tr("File %1 not found.")
24 .arg(QFileInfo(file_name).absoluteFilePath())));
25}
26
27
29{
30}
31
32
33} // namespace pappso
MsFileReader(const QString &file_name)
tries to keep as much as possible monoisotopes, removing any possible C13 peaks and changes multichar...
Definition: aa.cpp:39