Skip to content
Snippets Groups Projects
Commit 68be71c4 authored by Jeremy Mathews's avatar Jeremy Mathews
Browse files

Remove spaces from design file

parent d9eb45c1
4 merge requests!59Develop,!58Develop,!53Resolve "Design file - filename with spaces error",!52Remove spaces from design file
Pipeline #4837 passed with stages
in 1 minute and 47 seconds
...@@ -50,7 +50,11 @@ process checkDesignFile { ...@@ -50,7 +50,11 @@ process checkDesignFile {
""" """
hostname hostname
ulimit -a 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 { ...@@ -201,4 +205,4 @@ process multiqc {
multiqc -c ${multiqcConf} . multiqc -c ${multiqcConf} .
""" """
} }
\ No newline at end of file
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