Skip to content

Commit

Permalink
Remove check as the situation will never occur.
Browse files Browse the repository at this point in the history
If get_transcripts can't find the transcript, it will raise an exception and not return anything.
  • Loading branch information
talavis committed Aug 15, 2019
1 parent 8f0ce2c commit 41803c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/modules/browser/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,6 @@ def get_variant_list(dataset: str, datatype: str, item: str, ds_version: str = N
elif datatype == 'transcript':
variants = lookups.get_variants_in_transcript(dataset, item, ds_version)
transcript = lookups.get_transcript(dataset, item, ds_version)
if not transcript:
return {}
refgene = transcript['gene_id']

if variants:
Expand Down

0 comments on commit 41803c3

Please sign in to comment.