Skip to content

Commit

Permalink
Merge b579c7d into 1f506fd
Browse files Browse the repository at this point in the history
  • Loading branch information
KorayKirli committed Sep 7, 2020
2 parents 1f506fd + b579c7d commit 59f993c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 441 deletions.
12 changes: 0 additions & 12 deletions chalicelib/check_setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -1438,18 +1438,6 @@
}
}
},
"cgapS3_er_status" : {
"title": "d) CGAP pipeline Part III er",
"group": "Pipeline checks",
"schedule": {
"hourly_checks": {
"cgapwolf": {
"kwargs": {"primary": true},
"dependencies": []
}
}
}
},
"ingest_vcf_status" : {
"title": "d) CGAP trigger VCF ingestion",
"group": "Pipeline checks",
Expand Down
9 changes: 9 additions & 0 deletions chalicelib/checks/helpers/cgap_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,15 @@
}


def remove_parents_without_sample(samples_pedigree):
individuals = [i['individual'] for i in samples_pedigree]
for a_member in samples_pedigree:
parents = a_member['parents']
new_parents = [i for i in parents if i in individuals]
a_member['parents'] = new_parents
return samples_pedigree


def check_workflow_version(workflows):
errors = []
for a_wf in workflows:
Expand Down

0 comments on commit 59f993c

Please sign in to comment.