Commit 2609d986 authored by Langella Olivier's avatar Langella Olivier
Browse files

xtpcpp (0.2.38-2) stretch

parent e9d0f15d
xtpcpp (0.2.38-2) stretch; urgency=medium
* protein, use minimal annotation parameter added
-- Olivier Langella <olivier.langella@u-psud.fr> Tue, 18 Jun 2019 11:43:37 +0200
xtpcpp (0.2.38-1) stretch; urgency=medium
* new button to look for the best MS run to use as reference in alignment
......
......@@ -50,6 +50,11 @@ new labels :
"output, message" https://www.thegpm.org/TANDEM/api/om.html
"output, sequence path" https://www.thegpm.org/TANDEM/api/osp.html
"output, path" https://www.thegpm.org/TANDEM/api/opath.html
"protein, use annotations" https://www.thegpm.org/TANDEM/api/pua.html
obsolete :
"protein, use minimal annotations" yes no
*/
TandemParameters::TandemParameters()
......@@ -180,7 +185,9 @@ TandemParameters::setParamLabelValue(const QString &label, const QString &value)
(label == "output, path hashing") ||
(label == "spectrum, use noise suppression") ||
(label == "spectrum, use conditioning") ||
(label == "protein, homolog management"))
(label == "protein, homolog management") ||
(label == "protein, use minimal annotations") ||
(label == "protein, use annotations"))
{
if((value != "yes") && (value != "no"))
{
......
......@@ -132,9 +132,22 @@ TandemRunDialog::setPresetName(QString preset_name)
if(_previous_preset_file != param_file.getAbsoluteFilePath())
{
_previous_preset_file = param_file.getAbsoluteFilePath();
ui->thread_spin_box->setValue(param_file.getTandemParameters()
.getValue("spectrum, threads")
.toInt());
try
{
ui->thread_spin_box->setValue(param_file.getTandemParameters()
.getValue("spectrum, threads")
.toInt());
}
catch(pappso::PappsoException &error)
{
QMessageBox::warning(
this,
tr("Error reading X!Tandem parameter file"),
tr("Error reading parameter file \"%1\":\n%2")
.arg(param_file.getAbsoluteFilePath())
.arg(error.qwhat()));
}
}
}
}
......
......@@ -24,13 +24,9 @@
* You should have received a copy of the GNU General Public License
* along with XTPcpp. If not, see <http://www.gnu.org/licenses/>.
*
* Contributors:
* Olivier Langella <Olivier.Langella@u-psud.fr> - initial API and
*implementation
******************************************************************************/
#ifndef WORKMONITOR_H
#define WORKMONITOR_H
#pragma once
#include <QObject>
#include <QTime>
......@@ -70,5 +66,3 @@ class WorkMonitor : public QObject, public WorkMonitorInterface
int _max_value;
int _timer_duration;
};
#endif // WORKMONITOR_H
Markdown is supported
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