Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
i2MassChroQ
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
i2MassChroQ
Commits
efbe7260
Commit
efbe7260
authored
6 years ago
by
Langella Olivier
Browse files
Options
Downloads
Patches
Plain Diff
xtpcpp (0.2.21-3) stretch
parent
5b208ff6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
_clang-format
+15
-15
15 additions, 15 deletions
_clang-format
debian/changelog
+6
-0
6 additions, 0 deletions
debian/changelog
src/core/msrun.cpp
+19
-8
19 additions, 8 deletions
src/core/msrun.cpp
with
40 additions
and
23 deletions
_clang-format
+
15
−
15
View file @
efbe7260
Language: Cpp
---
Language: Cpp
# BasedOnStyle: LLVM
AccessModifierOffset: 0
AlignAfterOpenBracket: Align
...
...
@@ -15,14 +16,10 @@ AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
# Deprecated AlwaysBreakAfterDefinitionReturnType: All
AlwaysBreakAfterReturnType: AllDefinitions
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: false
BinPackArguments: true
BinPackParameters: true
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterClass: false
AfterControlStatement: false
...
...
@@ -35,13 +32,13 @@ BraceWrapping:
BeforeCatch: false
BeforeElse: false
IndentBraces: false
BreakAfterJavaFieldAnnotations: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: GNU
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: true
BreakAfterJavaFieldAnnotations: false
BreakConstructorInitializersBeforeComma: false
BreakStringLiterals: true
ColumnLimit:
80
ColumnLimit:
80
CommentPragmas: '^ IWYU pragma:'
ConstructorInitializerAllOnOneLineOrOnePerLine: true
ConstructorInitializerIndentWidth: 2
...
...
@@ -63,12 +60,12 @@ IndentCaseLabels: true
IndentWidth: 2
IndentWrappedFunctionNames: false
JavaScriptQuotes: Leave
JavaScriptWrapImports: true
KeepEmptyLinesAtTheStartOfBlocks: true
# Language: Cpp
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 2
NamespaceIndentation:
All
NamespaceIndentation:
Inner
ObjCBlockIndentWidth: 2
ObjCSpaceAfterProperty: false
ObjCSpaceBeforeProtocolList: true
...
...
@@ -82,15 +79,18 @@ PointerAlignment: Right
ReflowComments: true
SortIncludes: false
SpaceAfterCStyleCast: false
# SpaceAfterTemplateKeyword: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: Never
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
TabWidth: 2
UseTab: Never
...
This diff is collapsed.
Click to expand it.
debian/changelog
+
6
−
0
View file @
efbe7260
xtpcpp (0.2.21-3) stretch; urgency=medium
* smart file path guess
-- Olivier Langella <olivier.langella@u-psud.fr> Fri, 31 Aug 2018 11:49:39 +0200
xtpcpp (0.2.21-2) stretch; urgency=medium
* gui text fix (proteins => peptides)
...
...
This diff is collapsed.
Click to expand it.
src/core/msrun.cpp
+
19
−
8
View file @
efbe7260
...
...
@@ -87,10 +87,11 @@ MsRun::getMsRunStatistics(MsRunStatistics param) const
bool
MsRun
::
findMsRunFile
()
{
QFileInfo
file
(
this
->
getFilename
());
QString
basename
=
file
.
baseName
();
QString
onlyfilename
=
file
.
fileName
();
if
(
_msrun_reader_sp
!=
nullptr
)
return
true
;
QFileInfo
file_original
(
this
->
getFilename
());
QString
basename
=
file_original
.
baseName
();
QString
onlyfilename
=
file_original
.
fileName
();
QSettings
settings
;
QString
path
=
settings
.
value
(
"path/mzdatadir"
,
""
).
toString
();
...
...
@@ -109,12 +110,20 @@ MsRun::findMsRunFile()
if
(
onlyfilename
==
file
.
fileName
())
{
this
->
setFilename
(
file
.
absoluteFilePath
());
if
(
_msrun_reader_sp
==
nullp
tr
)
tr
y
{
_msrun_reader_sp
=
pappso
::
MsRunReaderFactory
::
getInstance
()
.
buildPwizMsRunReaderSp
(
*
this
);
if
(
_msrun_reader_sp
==
nullptr
)
{
_msrun_reader_sp
=
pappso
::
MsRunReaderFactory
::
getInstance
()
.
buildPwizMsRunReaderSp
(
*
this
);
return
true
;
return
true
;
}
}
catch
(
pappso
::
PappsoException
&
error
)
{
_msrun_reader_sp
=
nullptr
;
}
}
if
(
file
.
fileName
().
contains
(
onlyfilename
))
...
...
@@ -138,6 +147,8 @@ MsRun::findMsRunFile()
}
}
}
this
->
setFilename
(
file_original
.
absoluteFilePath
());
_msrun_reader_sp
=
nullptr
;
return
false
;
}
...
...
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