Commit 68be71c4 authored by Jeremy Mathews's avatar Jeremy Mathews
Browse files

Remove spaces from design file

parent d9eb45c1
Pipeline #4837 passed with stages
in 1 minute and 47 seconds
......@@ -50,7 +50,11 @@ process checkDesignFile {
"""
hostname
ulimit -a
python3 ${baseDir}/scripts/check_design.py -d ${designLocation}
noSpaceDesign=\$(echo "${designLocation}" | tr -d ' ')
if [[ "\${noSpaceDesign}" != "${designLocation}" ]]; then
mv "${designLocation}" "\${noSpaceDesign}"
fi
python3 ${baseDir}/scripts/check_design.py -d \${noSpaceDesign}
"""
}
......@@ -201,4 +205,4 @@ process multiqc {
multiqc -c ${multiqcConf} .
"""
}
\ No newline at end of file
}
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