Skip to content
Snippets Groups Projects
Commit a1bb6689 authored by Langella Olivier's avatar Langella Olivier
Browse files

only accept ppm or dalton for MassChroqML

parent c3ef1c9d
No related branches found
No related tags found
No related merge requests found
......@@ -171,6 +171,19 @@ ExportMasschroqDialog::accept()
}
}
if((ui->xicRangeWidget->getPrecision()->unit() ==
pappso::PrecisionUnit::ppm) ||
(ui->xicRangeWidget->getPrecision()->unit() ==
pappso::PrecisionUnit::dalton))
{ // ok
}
else
{
error_message =
QString(tr("MassChroQ can only work with ppm or dalton units. Please "
"change the XIC extraction precision unit."));
}
if(error_message.isEmpty())
{
ZivyParams zivy_params = ui->zivyParamWidget->getZivyParams();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment