From 3fd3c88a81cbea21a6dee7acf404cfec59d5a769 Mon Sep 17 00:00:00 2001 From: Thomas Renne Date: Fri, 29 May 2020 11:59:38 +0200 Subject: [PATCH] Remove .d at the end of the tandemWrapper xml output --- src/core/tandem_run/tandembatchprocess.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/tandem_run/tandembatchprocess.cpp b/src/core/tandem_run/tandembatchprocess.cpp index 423efc81..efb3b5a9 100644 --- a/src/core/tandem_run/tandembatchprocess.cpp +++ b/src/core/tandem_run/tandembatchprocess.cpp @@ -281,9 +281,10 @@ TandemBatchProcess::writeXmlInputFile(QXmlStreamWriter *p_out, p_out->writeAttribute("label", "output, path"); if(mz_file_info.completeSuffix() == "tdf") { + QString output_name = QFileInfo(mz_file_info.absoluteDir().dirName()).baseName(); p_out->writeCharacters(QString("%1/%2.xml") .arg(_tandem_run_batch._output_directory) - .arg(mz_file_info.absoluteDir().dirName())); + .arg(output_name)); } else { -- GitLab