Skip to content

Commit

Permalink
Merge pull request #46 from eastgenomics/dev
Browse files Browse the repository at this point in the history
v1.3.1
  • Loading branch information
jethror1 authored Nov 19, 2020
2 parents 9a37e8c + 376d4d9 commit e80f75c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions dxapp.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "vcf2xls_nirvana_v1.3.0",
"title": "vcf2xls_nirvana_v1.3.0",
"name": "vcf2xls_nirvana_v1.3.1",
"title": "vcf2xls_nirvana_v1.3.1",
"summary": "vcf2xls_nirvana adapated for DNAnexus: no queries for Genetics Ark, uses Python STDOUT to replace essential queries for creating QC sheets",
"dxapi": "1.0.0",
"version": "1.3.0",
"version": "1.3.1",
"properties": {
"githubRelease": "v1.3.0"
"githubRelease": "v1.3.1"
},
"inputSpec": [
{
Expand Down
6 changes: 3 additions & 3 deletions src/vcf2xls_nirvana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ main() {


# Get workflow name and id
if dx describe --delim "_" $annotated_vcf_name | grep -q job- ; then
if dx describe --delim "_" $annotated_vcf_name | grep job- ; then
job_id=$(dx describe --delim "_" $annotated_vcf_name | grep job- | cut -d_ -f2)
analysis=$(dx describe --delim "_" $job_id)

if dx describe --delim "_" $job_id | grep -q Root ; then
if dx describe --delim "_" $job_id | grep Root ; then
analysis_id=$(dx describe --delim "_" $job_id | grep Root | cut -d_ -f2)
workflow=$(dx describe --delim "_" $analysis_id)

if dx describe --delim "_" $analysis_id | grep -q Workflow ; then
if dx describe --delim "_" $analysis_id | grep Workflow ; then
workflow_id=$(dx describe --delim "_" $analysis_id | grep Workflow | cut -d_ -f2)
analysis_name=$(dx describe --name $analysis_id)
found_workflow_id=true
Expand Down

0 comments on commit e80f75c

Please sign in to comment.