Skip to content
Snippets Groups Projects
Commit df0f368b authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Split grep from pipe from python

parent 17df0fa5
Branches
Tags
2 merge requests!58Develop,!45Resolve "Move references to GUDMAP/RBK"
Pipeline #8125 failed with stages
in 2 minutes
......@@ -241,7 +241,8 @@ humanDataHub:
- curl --request GET ${query} > refQuery.json
- refURL=$(python ./workflow/scripts/extractRefData.py --returnParam URL)
- refMD5=$(python ./workflow/scripts/extractRefData.py --returnParam MD5)
- test=$(singularity run 'docker://gudmaprbk/deriva1.3:1.0.0' deriva-hatrac-cli --host ${referenceBase} ls /hatrac/resources/rnaseq/pipeline/reference_genome/ | grep -o ${refMD5})
- test=$(singularity run 'docker://gudmaprbk/deriva1.3:1.0.0' deriva-hatrac-cli --host ${referenceBase} ls /hatrac/resources/rnaseq/pipeline/reference_genome/)
- test=$(echo ${test} | grep -o ${refMD5})
- if [ "${test}" == "" ]; then exit 1; fi
mousenDataHub:
......@@ -264,7 +265,8 @@ mousenDataHub:
- curl --request GET ${query} > refQuery.json
- refURL=$(python ./workflow/scripts/extractRefData.py --returnParam URL)
- refMD5=$(python ./workflow/scripts/extractRefData.py --returnParam MD5)
- test=$(singularity run 'docker://gudmaprbk/deriva1.3:1.0.0' deriva-hatrac-cli --host ${referenceBase} ls /hatrac/resources/rnaseq/pipeline/reference_genome/ | grep -o ${refMD5})
- test=$(singularity run 'docker://gudmaprbk/deriva1.3:1.0.0' deriva-hatrac-cli --host ${referenceBase} ls /hatrac/resources/rnaseq/pipeline/reference_genome/)
- test=$(echo ${test} | grep -o ${refMD5})
- if [ "${test}" == "" ]; then exit 1; fi
......
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