RAPPEL : Opération de maintenance > ForgeMIA indisponible le 20 Janvier entre 7h et 12h

Commit 1724fb31 authored by Langella Olivier's avatar Langella Olivier
Browse files

endl and skip empty parts compilation warnings fixed

parent 1dc520cb
......@@ -51,8 +51,7 @@ PeptideEvidence::PeptideEvidence(MsRun *msrunid_sp, std::size_t scan_index)
_identification_engine = IdentificationEngine::unknown;
}
PeptideEvidence::PeptideEvidence(MsRun *msrunid_sp,
std::size_t scan_index,
PeptideEvidence::PeptideEvidence(MsRun *msrunid_sp, std::size_t scan_index,
bool isSpectrumIndex)
{
_msrunid_sp = msrunid_sp;
......@@ -67,8 +66,8 @@ PeptideEvidence::PeptideEvidence(MsRun *msrunid_sp,
}
PeptideEvidence::PeptideEvidence(const PeptideEvidence &other)
: PeptideEvidence(
other._msrunid_sp, other.m_scan_number, other.m_isSpectrumIndex)
: PeptideEvidence(other._msrunid_sp, other.m_scan_number,
other.m_isSpectrumIndex)
{
_hash_sample_scan = other._hash_sample_scan;
_sp_grp_peptide = other._sp_grp_peptide;
......@@ -482,14 +481,13 @@ PeptideEvidence::getHtmlSequence() const
QVariant param = getParam(PeptideEvidenceParam::deepprot_delta_positions);
if(!param.isNull())
{
for(auto pos_str : param.toString().split(" ", QString::SkipEmptyParts))
for(auto pos_str : param.toString().split(" ", Qt::SkipEmptyParts))
{
position_list.push_back(pos_str.toUInt());
}
}
std::sort(position_list.begin(),
position_list.end(),
std::sort(position_list.begin(), position_list.end(),
[](std::size_t a, std::size_t b) { return a > b; });
for(std::size_t pos : position_list)
......
......@@ -41,8 +41,8 @@
TandemCondorProcess::TandemCondorProcess(MainWindow *p_main_window,
WorkMonitorInterface *p_monitor,
const TandemRunBatch &tandem_run_batch)
: TandemBatchProcess(p_main_window, p_monitor, tandem_run_batch),
CondorProcess(p_main_window, p_monitor, "X!Tandem")
: TandemBatchProcess(p_main_window, p_monitor, tandem_run_batch)
, CondorProcess(p_main_window, p_monitor, "X!Tandem")
{
/*
Universe = vanilla
......@@ -130,18 +130,19 @@ TandemCondorProcess::run()
p_out = new QTextStream();
p_out->setDevice(&submit_file);
*p_out << "Universe = vanilla" << endl;
*p_out << "notification = Error" << endl;
*p_out << "Rank = Mips" << endl;
*p_out << "DiskUsage = " << m_condorDiskUsage << endl;
*p_out << "request_memory= " << m_condorRequestMemory << endl;
*p_out << "Universe = vanilla" << Qt::endl;
*p_out << "notification = Error" << Qt::endl;
*p_out << "Rank = Mips" << Qt::endl;
*p_out << "DiskUsage = " << m_condorDiskUsage << Qt::endl;
*p_out << "request_memory= " << m_condorRequestMemory << Qt::endl;
*p_out << "request_cpus = " << _tandem_run_batch._number_of_threads
<< endl;
*p_out << "Log = " << mp_tmpDir->path() << "/condor.log" << endl;
<< Qt::endl;
*p_out << "Log = " << mp_tmpDir->path() << "/condor.log"
<< Qt::endl;
*p_out << "Output = " << mp_tmpDir->path()
<< "/tandem.$(Process).out" << endl;
<< "/tandem.$(Process).out" << Qt::endl;
*p_out << "Error = " << mp_tmpDir->path()
<< "/tandem.$(Process).error" << endl;
<< "/tandem.$(Process).error" << Qt::endl;
/*
Log =
/gorgone/pappso/tmp/temp_condor_job93294001891239208719639434471283743/submit_condor.log
......
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