Skip to content

Commit

Permalink
fix view genes
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosp420 committed Aug 28, 2015
1 parent 7bd1955 commit 17d6503
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion voseq/view_genes/views.py
Expand Up @@ -16,7 +16,10 @@ def index(request):
result = []
for i in queryset:
gene_code = i['gene_code']
i['voucher_count'] = voucher_count[gene_code]
try:
i['voucher_count'] = voucher_count[gene_code]
except KeyError:
continue
result.append(i)

return render(request, 'view_genes/index.html',
Expand Down

0 comments on commit 17d6503

Please sign in to comment.