Skip to content

Commit

Permalink
suff_eval = False for variants not in GET-Evidence
Browse files Browse the repository at this point in the history
  • Loading branch information
tomclegg committed Aug 5, 2012
1 parent 1985e55 commit 43d5c2b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/gff_getevidence_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,8 @@ def suff_eval(variant_data):
6 - disease penetrance
"""
# Check that we have the data we need, else return "False"
if !("variant_impact" in variant_data):
return False
if "quality_scores" in variant_data:
quality_scores = variant_data["quality_scores"]
if (not quality_scores) or len(quality_scores) < 7:
Expand Down

0 comments on commit 43d5c2b

Please sign in to comment.