Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Maintenance - Mise à jour mensuelle Lundi 6 Février entre 7h00 et 9h00
Open sidebar
PAPPSO
xtpcpp
Commits
8cfc2b87
Commit
8cfc2b87
authored
Oct 03, 2019
by
Renne Thomas
Browse files
Correct bug check protein doesnt work
parent
d70a25c9
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
src/gui/project_view/projectwindow.cpp
View file @
8cfc2b87
This diff is collapsed.
Click to expand it.
src/gui/protein_list_view/proteinlistwindow.cpp
View file @
8cfc2b87
This diff is collapsed.
Click to expand it.
src/gui/workerthread.cpp
View file @
8cfc2b87
This diff is collapsed.
Click to expand it.
src/main.cpp
View file @
8cfc2b87
...
...
@@ -35,51 +35,53 @@ using namespace std;
int
main
(
int
argc
,
char
*
argv
[])
{
QTextStream
errorStream
(
stderr
,
QIODevice
::
WriteOnly
);
QApplication
app
(
argc
,
argv
);
QTextStream
errorStream
(
stderr
,
QIODevice
::
WriteOnly
);
QApplication
app
(
argc
,
argv
);
qRegisterMetaType
<
TandemRunBatch
>
(
"TandemRunBatch"
);
qRegisterMetaType
<
std
::
vector
<
pappso
::
pappso_double
>>
(
"std::vector<pappso::pappso_double>"
);
qRegisterMetaType
<
pappso
::
PrecisionPtr
>
(
"pappso::PrecisionPtr"
);
qRegisterMetaType
<
std
::
vector
<
pappso
::
XicCstSPtr
>>
(
"std::vector<pappso::XicCstSPtr>"
);
qRegisterMetaType
<
pappso
::
PeptideSp
>
(
"pappso::PeptideSp"
);
qRegisterMetaType
<
pappso
::
XicExtractMethod
>
(
"pappso::XicExtractMethod"
);
qRegisterMetaType
<
pappso
::
MassSpectrumCstSPtr
>
(
"pappso::MassSpectrumCstSPtr"
);
qRegisterMetaType
<
MsRunSp
>
(
"MsRunSp"
);
qRegisterMetaType
<
std
::
vector
<
pappso
::
PeptideNaturalIsotopeAverageSp
>>
(
"std::vector<pappso::PeptideNaturalIsotopeAverageSp>"
);
qRegisterMetaType
<
ExportFastaType
>
(
"ExportFastaType"
);
qRegisterMetaType
<
MasschroqFileParameters
>
(
"MasschroqFileParameters"
);
qRegisterMetaType
<
TandemRunBatch
>
(
"TandemRunBatch"
);
qRegisterMetaType
<
std
::
vector
<
pappso
::
pappso_double
>>
(
"std::vector<pappso::pappso_double>"
);
qRegisterMetaType
<
pappso
::
PrecisionPtr
>
(
"pappso::PrecisionPtr"
);
qRegisterMetaType
<
std
::
vector
<
pappso
::
XicCstSPtr
>>
(
"std::vector<pappso::XicCstSPtr>"
);
qRegisterMetaType
<
pappso
::
PeptideSp
>
(
"pappso::PeptideSp"
);
qRegisterMetaType
<
pappso
::
XicExtractMethod
>
(
"pappso::XicExtractMethod"
);
qRegisterMetaType
<
pappso
::
MassSpectrumCstSPtr
>
(
"pappso::MassSpectrumCstSPtr"
);
qRegisterMetaType
<
MsRunSp
>
(
"MsRunSp"
);
qRegisterMetaType
<
std
::
vector
<
pappso
::
PeptideNaturalIsotopeAverageSp
>>
(
"std::vector<pappso::PeptideNaturalIsotopeAverageSp>"
);
qRegisterMetaType
<
ExportFastaType
>
(
"ExportFastaType"
);
qRegisterMetaType
<
MasschroqFileParameters
>
(
"MasschroqFileParameters"
);
//
qRegisterMetaType<
pappso::PeakIonIsotopeMatch>("pappso::PeakIonIsotopeMatch
");
qRegisterMetaType
<
ContaminantRemovalMode
>
(
"ContaminantRemovalMode
"
);
try
// qRegisterMetaType<pappso::PeakIonIsotopeMatch>("pappso::PeakIonIsotopeMatch");
try
{
QCoreApplication
::
setOrganizationName
(
"PAPPSO"
);
QCoreApplication
::
setOrganizationDomain
(
"pappso.inra.fr"
);
QCoreApplication
::
setApplicationName
(
"xtpcpp"
);
MainWindow
window
;
window
.
show
();
QCoreApplication
::
setOrganizationName
(
"PAPPSO"
);
QCoreApplication
::
setOrganizationDomain
(
"pappso.inra.fr"
);
QCoreApplication
::
setApplicationName
(
"xtpcpp"
);
MainWindow
window
;
window
.
show
();
// This code will start the messaging engine in QT and in
// 10ms it will start the execution in the MainClass.run routine;
QTimer
::
singleShot
(
10
,
&
window
,
SLOT
(
run
()));
// This code will start the messaging engine in QT and in
// 10ms it will start the execution in the MainClass.run routine;
QTimer
::
singleShot
(
10
,
&
window
,
SLOT
(
run
()));
return
app
.
exec
();
return
app
.
exec
();
}
catch
(
pappso
::
PappsoException
&
error
)
catch
(
pappso
::
PappsoException
&
error
)
{
errorStream
<<
"Oops! an error occurred in XTPcpp. Dont Panic :"
<<
endl
;
errorStream
<<
error
.
qwhat
()
<<
endl
;
app
.
exit
(
1
);
errorStream
<<
"Oops! an error occurred in XTPcpp. Dont Panic :"
<<
endl
;
errorStream
<<
error
.
qwhat
()
<<
endl
;
app
.
exit
(
1
);
}
catch
(
std
::
exception
&
error
)
catch
(
std
::
exception
&
error
)
{
errorStream
<<
"Oops! an error occurred in XTPcpp. Dont Panic :"
<<
endl
;
errorStream
<<
error
.
what
()
<<
endl
;
app
.
exit
(
1
);
errorStream
<<
"Oops! an error occurred in XTPcpp. Dont Panic :"
<<
endl
;
errorStream
<<
error
.
what
()
<<
endl
;
app
.
exit
(
1
);
}
}
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment