Commit c61a9725 authored by Gonzalo S Nido's avatar Gonzalo S Nido
Browse files

Fixed absolute path

parent 8cab38ea
...@@ -316,7 +316,8 @@ if [[ $SUBSET != 0 ]]; then ...@@ -316,7 +316,8 @@ if [[ $SUBSET != 0 ]]; then
fi fi
opts="${opts}-s $STRATEGIES " opts="${opts}-s $STRATEGIES "
PIPELINE_CMD="bash /home/gsnido/wgbs-pipeline/wgbs-pipeline.sh${opts}${R1[*]} ${R2[*]}" PIPELINE_DIR=`dirname $0`
PIPELINE_CMD="bash ${PIPELINE_DIR}/wgbs-pipeline.sh${opts}${R1[*]} ${R2[*]}"
echo ">> RUNNING THE PIPELINE..." echo ">> RUNNING THE PIPELINE..."
echo " CMD = \"${PIPELINE_CMD}\"" echo " CMD = \"${PIPELINE_CMD}\""
${PIPELINE_CMD} ${PIPELINE_CMD}
...@@ -338,7 +339,7 @@ if [[ $SHRINK > 0 ]]; then ...@@ -338,7 +339,7 @@ if [[ $SHRINK > 0 ]]; then
az storage share update --name ${shareNameResults} --account-name ${storageAccountResults} --account-key ${storageAccountKeyResults} --quota ${size} az storage share update --name ${shareNameResults} --account-name ${storageAccountResults} --account-key ${storageAccountKeyResults} --quota ${size}
else else
echo " * Fileshare in storage account left with 3G quota" echo " * Fileshare in storage account left with original quota"
fi fi
echo echo
......
Supports Markdown
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