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

raise protein list window

parent f3380836
No related branches found
No related tags found
No related merge requests found
......@@ -329,6 +329,11 @@ void TandemCondorProcess::getCondorJobState() {
arguments << "-xml" << QString("%1").arg(_condor_cluster_number);
QProcess condor_q_process;
//QProcess::error(QProcess::ProcessError)
//finished(int,QProcess::ExitStatus)
//connect(&condor_q_process, &QProcess::finished, this, &TandemCondorProcess::receivedCondorQueueProcessCompleted);
//connect(&condor_q_process, &QProcess::error, this, &TandemCondorProcess::receivedCondorQueueProcessError);
//hk_process->setWorkingDirectory(QFileInfo(_hardklor_exe).absolutePath());
qDebug() << "TandemCondorProcess::getCondorJobState command " << _condor_q_command << " " << arguments.join(" ");
condor_q_process.start(_condor_q_command, arguments);
......
......@@ -155,6 +155,7 @@ void ProjectWindow::connectNewPtmIslandListWindow() {
void ProjectWindow::connectNewProteinListWindow() {
qDebug() << "ProjectWindow::connectNewProteinListWindow begin";
_p_current_protein_list_window = new ProteinListWindow(this);
_protein_list_window_collection.push_back(_p_current_protein_list_window);
qDebug() << "ProjectWindow::connectNewProteinListWindow end";
......@@ -572,8 +573,8 @@ void ProjectWindow::doViewProteinList(IdentificationGroup* p_identification_grou
_p_current_protein_list_window->show();
//_p_current_protein_list_window->raise();
//_p_current_protein_list_window->activateWindow();
_p_current_protein_list_window->raise();
_p_current_protein_list_window->activateWindow();
qDebug() << "ProjectWindow::doViewProteinList end " << p_identification_group;
_p_current_protein_list_window->setIdentificationGroup(p_identification_group);
......
......@@ -348,6 +348,11 @@ bool XtandemSaxHandler::endElement_note() {
//to fit most cases, just check that the :reversed chars added by X!Tandem are not in the description. if so, then add it too in the accession
_p_protein_match->getProteinXtpSp().get()->setAccession(QString("%1%2").arg(_p_protein_match->getProteinXtpSp().get()->getAccession()).arg(":reversed"));
}
//for older versions < 2013.09.01.1
if (!_p_protein_match->getProteinXtpSp().get()->getAccession().endsWith("|reversed") && _p_protein_match->getProteinXtpSp().get()->getDescription().endsWith("|reversed")) {
//to fit most cases, just check that the :reversed chars added by X!Tandem are not in the description. if so, then add it too in the accession
_p_protein_match->getProteinXtpSp().get()->setAccession(QString("%1%2").arg(_p_protein_match->getProteinXtpSp().get()->getAccession()).arg("|reversed"));
}
}
else {
......
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