Skip to content

Commit

Permalink
Remove unnecessary whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
talavis committed Aug 5, 2019
1 parent 6154963 commit 7613776
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/modules/browser/browser_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,12 @@ def get(self, dataset:str, transcript:str, ds_version:str=None):
}

# Add transcript information
try:
try:
transcript = lookups.get_transcript(dataset, transcript_id, ds_version)
except error.NotFoundError as err:
self.send_error(status_code=404, reason=str(err))
return

ret['transcript']['id'] = transcript['transcript_id']
ret['transcript']['number_of_CDS'] = len([t for t in transcript['exons'] if t['feature_type'] == 'CDS'])

Expand Down

0 comments on commit 7613776

Please sign in to comment.