We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a68a3b commit 041738eCopy full SHA for 041738e
1 file changed
entrypoint.sh
@@ -10,14 +10,18 @@ if [ "$5" = 'containerize' ] ; then
10
snakemake --directory $1 --snakefile $2 --show-failed-logs $3 --containerize > Dockerfile
11
# return disk space usage on failing
12
if [[ "$?" -ne 0 && "$6" = true ]] ; then
13
- du -h -d3 $1
+ du -h -d3 $1 && exit 1
14
fi
15
elif [ "$5" = 'run' ] ; then
16
# run snakemake with given args
17
snakemake --directory $1 --snakefile $2 --show-failed-logs $3
18
19
20
+ df -h
21
+ echo "du home\n"
22
+ du -h -d3 /github/home
23
+ echo "du working directory\n"
24
25
26
else
27
echo "Task input not recognized." && exit 1
0 commit comments