Commit ab082f8e authored by Langella Olivier's avatar Langella Olivier
Browse files

WIP: no_matching mode

parent 0ab8f298
......@@ -671,7 +671,7 @@ MassChroq::executeQuantification(const QString &quantify_id)
catch(mcqError &error)
{
throw mcqError(QObject::tr("error in MassChroQ::executeQuantification %1 "
"PappsoException :\n%2")
"mcqError :\n%2")
.arg(quantify_id)
.arg(error.qwhat()));
}
......
......@@ -46,7 +46,7 @@ MapQuanti::MapQuanti(MonitorSpeedInterface &monitor,
void
MapQuanti::operator()(QuantiItemBase *p_currentSearchItem)
{
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__;
qDebug();
try
{
pappso::pappso_double rt_target = -1;
......@@ -60,8 +60,7 @@ MapQuanti::operator()(QuantiItemBase *p_currentSearchItem)
if(std::isnan(rt_target))
{
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__
<< " isnan(rt_target) "
qDebug() << " isnan(rt_target) "
<< p_currentSearchItem->getQuantiItemId() << " "
<< rt_target;
throw mcqError(
......@@ -83,13 +82,11 @@ MapQuanti::operator()(QuantiItemBase *p_currentSearchItem)
}
else
{
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__
<< " rt_target == -1 exit";
qDebug() << " rt_target == -1 exit";
return;
}
}
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__ << " "
<< p_currentSearchItem->getMz();
qDebug() << p_currentSearchItem->getMz();
pappso::MzRange mass_range(
p_currentSearchItem->getMz(),
_quantificator->getQuantificationMethod()->getLowerPrecision(),
......@@ -114,12 +111,11 @@ MapQuanti::operator()(QuantiItemBase *p_currentSearchItem)
if(msrun_xic_sp == nullptr)
{
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__;
qDebug() _;
}
else
{
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__
<< " rt_target=" << rt_target;
qDebug() << " rt_target=" << rt_target;
XicTraceBase *p_xic_trace = nullptr;
// only take an rt reference to match peak
......@@ -145,13 +141,13 @@ MapQuanti::operator()(QuantiItemBase *p_currentSearchItem)
}
p_currentSearchItem->endMsrunQuantification(_p_msrun);
}
qDebug() << __FILE__ << " " << __FUNCTION__ << " " << __LINE__;
qDebug();
}
catch(pappso::PappsoException &errorp)
{
mcqerr() << " MapQuanti::operator " << errorp.qwhat();
throw McqErrorConcurrent(
throw mcqError(
QObject::tr(
"Error in MapQuanti::operator() pappso::PappsoException:\n %1")
.arg(errorp.qwhat()));
......@@ -159,15 +155,14 @@ MapQuanti::operator()(QuantiItemBase *p_currentSearchItem)
catch(mcqError &errorException)
{
mcqerr() << " MapQuanti::operator " << errorException.qwhat();
throw McqErrorConcurrent(
QObject::tr("Error in MapQuanti::operator() :\n %1")
.arg(errorException.qwhat()));
throw mcqError(QObject::tr("Error in MapQuanti::operator() :\n %1")
.arg(errorException.qwhat()));
}
catch(std::exception &e)
{
mcqerr() << " MapQuanti::operator " << e.what();
throw McqErrorConcurrent(
throw mcqError(
QObject::tr("Error in MapQuanti::operator() std::exception :\n %1")
.arg(e.what()));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment