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
9909ecd0
Commit
9909ecd0
authored
4 years ago
by
Langella Olivier
Browse files
Options
Downloads
Patches
Plain Diff
catch exception when running tandem wrapper and display it
parent
6091a6ab
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/core/tandem_run/tandembatchprocess.cpp
+11
-4
11 additions, 4 deletions
src/core/tandem_run/tandembatchprocess.cpp
src/core/tandem_run/tandembatchprocess.h
+0
-1
0 additions, 1 deletion
src/core/tandem_run/tandembatchprocess.h
with
11 additions
and
5 deletions
src/core/tandem_run/tandembatchprocess.cpp
+
11
−
4
View file @
9909ecd0
...
...
@@ -186,14 +186,14 @@ TandemBatchProcess::run()
try
{
m_centroid_timstof_option
=
new_param
.
getValue
(
"spectrum, timstof MS2 centroid parameters"
);
//
m_centroid_timstof_option =
//
new_param.getValue("spectrum, timstof MS2 centroid parameters");
}
catch
(
pappso
::
ExceptionNotFound
&
error
)
{
// if centroid parameters are not in preset :
// no error has to be sent, this is a normal preset
m_centroid_timstof_option
=
""
;
//
m_centroid_timstof_option = "";
}
prepareXmlDatabaseFile
();
...
...
@@ -432,14 +432,21 @@ TandemBatchProcess::runOne(const QString &mz_file)
<<
"Oops! an error occurred in PAPPSO MS tools. Dont Panic :"
<<
endl
;
errorStream
<<
error
.
qwhat
()
<<
endl
;
throw
pappso
::
PappsoException
(
QObject
::
tr
(
"error executing pappso::TandemWrapperRun :
\n
%1"
)
.
arg
(
error
.
qwhat
()));
}
catch
(
std
::
exception
&
error
)
{
errorStream
<<
"Oops! an error occurred in PAPPSO MS tools. Dont Panic :"
<<
"Oops! an
std
error occurred in PAPPSO MS tools. Dont Panic :"
<<
endl
;
errorStream
<<
error
.
what
()
<<
endl
;
throw
pappso
::
PappsoException
(
QObject
::
tr
(
"error executing pappso::TandemWrapperRun :
\n
%1"
)
.
arg
(
error
.
what
()));
}
}
}
This diff is collapsed.
Click to expand it.
src/core/tandem_run/tandembatchprocess.h
+
0
−
1
View file @
9909ecd0
...
...
@@ -60,6 +60,5 @@ class TandemBatchProcess
private:
QTemporaryFile
_tmp_database_file
;
QString
m_centroid_timstof_option
;
MainWindow
*
_p_main_window
=
nullptr
;
};
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