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
Show more breadcrumbs
PAPPSO
xtpcpp
Commits
17b9a3fc
Commit
17b9a3fc
authored
6 years ago
by
Langella Olivier
Browse files
Options
Downloads
Patches
Plain Diff
testing xic extractor with disk cache
parent
92178ef3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/utils/readspectrum.cpp
+2
-1
2 additions, 1 deletion
src/utils/readspectrum.cpp
with
2 additions
and
1 deletion
src/utils/readspectrum.cpp
+
2
−
1
View file @
17b9a3fc
...
...
@@ -333,6 +333,7 @@ pappso::SpectrumSp SpectrumStore::getSpectrumSpFromMsRunSp(MsRun * msrun, unsign
std
::
vector
<
pappso
::
MsRunXicSp
>
SpectrumStore
::
getXicSpFromMsRunSp
(
MsRun
*
p_msrun
,
const
std
::
vector
<
pappso
::
MassRange
>
&
mass_range_list
,
pappso
::
XicExtractMethod
method
)
{
qDebug
()
<<
"SpectrumStore::getXicSpFromMsRunSp begin"
;
pappso
::
MsRunXicExtractorFactory
::
getInstance
().
setTmpDir
(
"/tmp"
);
std
::
vector
<
pappso
::
MsRunXicSp
>
xic_sp_list
;
if
(
p_msrun
==
nullptr
)
{
qDebug
()
<<
"SpectrumStore::getXicSpFromMsRunSp ERROR p_msrun == nullptr "
;
...
...
@@ -345,7 +346,7 @@ std::vector<pappso::MsRunXicSp> SpectrumStore::getXicSpFromMsRunSp(MsRun * p_msr
if
(
p_msdatafile
!=
nullptr
)
{
auto
it
=
_map_msrun_msrunxicextractor
.
find
(
p_msrun
);
if
(
it
==
_map_msrun_msrunxicextractor
.
end
())
{
pappso
::
MsRunXicExtractorSp
extractor
=
pappso
::
MsRunXicExtractorFactory
::
getInstance
().
buildMsRunXicExtractor
Pwiz
Sp
(
*
p_msrun
);
pappso
::
MsRunXicExtractorSp
extractor
=
pappso
::
MsRunXicExtractorFactory
::
getInstance
().
buildMsRunXicExtractor
Disk
Sp
(
*
p_msrun
);
_map_msrun_msrunxicextractor
.
insert
(
std
::
pair
<
MsRun
*
,
pappso
::
MsRunXicExtractorSp
>
(
p_msrun
,
extractor
));
extractor
->
setXicExtractMethod
(
method
);
...
...
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