Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
BICF
Astrocyte
cellranger_mkfastq
Commits
f513e97a
Commit
f513e97a
authored
May 17, 2019
by
Jeremy Mathews
Browse files
Test Folder Check with file rename and directory exit
parent
ea391ce2
Pipeline
#3909
failed with stages
in 105 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
workflow/main.nf
View file @
f513e97a
...
...
@@ -38,7 +38,10 @@ process checkDesignFile {
hostname
ulimit -a
dL=`echo "$designLocation" | tr -d ' '`
if [ "$designLocation" != "\$dL" ]
if [ `dirname "$designLocation"` != `dirname "\$dL"` ]
then echo "Error: Spaces Found in Design Directory Path"
exit 5
elif [ `basename "$designLocation"` != `basename "\$dL"` ]
then mv "$designLocation" "\$dL"
fi
python3 "$baseDir/scripts/check_design.py" -d "\$dL"
...
...
@@ -66,8 +69,11 @@ process untarBCL {
ulimit -a
tar_no=`echo "${tar}" | tr -d ' '`
if [ "${tar}" != "\${tar_no}" ]
then mv "${tar}" "\${tar_no}"
if [ `dirname "${tar}"` != `dirname "\${tar_no}"` ]
then echo "Error: Spaces Found in BCL Directory Path"
exit 5
elif [ `basename "${tar}"` != `basename "\$dL"` ]
then mv "${tar}" "\${tar_no}"
fi
name=`echo ${tar} | rev | cut -f1 -d '.' | rev`;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment