Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xtpcpp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
PAPPSO
xtpcpp
Commits
53536785
Commit
53536785
authored
7 years ago
by
Olivier Langella
Browse files
Options
Downloads
Patches
Plain Diff
protect pwiz objects
parent
5654a803
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/utils/readspectrum.cpp
+5
-0
5 additions, 0 deletions
src/utils/readspectrum.cpp
src/utils/readspectrum.h
+3
-4
3 additions, 4 deletions
src/utils/readspectrum.h
with
8 additions
and
4 deletions
src/utils/readspectrum.cpp
+
5
−
0
View file @
53536785
...
...
@@ -38,10 +38,15 @@
#include
<pwiz/data/msdata/MSData.hpp>
#include
<locale>
#include
<pwiz/data/msdata/MSDataFile.hpp>
//http://sourceforge.net/p/proteowizard/mailman/message/28245157/
using
namespace
pappso
;
pwiz
::
msdata
::
MSDataFile
*
getPwizMSDataFile
(
const
QString
&
filename
);
pappso
::
QualifiedSpectrum
getQualifiedSpectrumFromPwizMSDataFile
(
pwiz
::
msdata
::
MSDataFile
*
p_ms_data_file
,
unsigned
int
scan_num
);
pwiz
::
msdata
::
MSDataFile
*
getPwizMSDataFile
(
const
QString
&
filename
)
{
qDebug
()
<<
"getPwizMSDataFile opening file "
<<
filename
;
...
...
This diff is collapsed.
Click to expand it.
src/utils/readspectrum.h
+
3
−
4
View file @
53536785
...
...
@@ -26,16 +26,15 @@
#include
<QString>
#include
<pappsomspp/spectrum/qualifiedspectrum.h>
#include
<pwiz/data/msdata/MSDataFile.hpp>
#include
<map>
#include
"../core/msrun.h"
pappso
::
Spectrum
readSpectrum
(
const
QString
&
filename
,
unsigned
int
scan_num
,
unsigned
int
&
precursor_charge_state
);
pwiz
::
msdata
::
MSDataFile
*
getPwizMSDataFile
(
const
QString
&
filename
);
pappso
::
QualifiedSpectrum
getQualifiedSpectrumFromPwizMSDataFile
(
pwiz
::
msdata
::
MSDataFile
*
p_ms_data_file
,
unsigned
int
scan_num
);
namespace
pwiz
::
msdata
{
class
MSDataFile
;
}
//MzFormat getPwizMSDataFileFormat(pwiz::msdata::MSDataFile * p_ms_data_file);
class
SpectrumStore
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment