Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.

Commit

Permalink
flowcell/views.py: fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Manke committed Dec 8, 2021
1 parent ac3b768 commit 8f2caa9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions flowcell/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,9 @@ def analysis_list(self, request):

# quick fix to deal with undefined index_type
# this can happen for failed samples
try:
item.index_type
ind_type = index.index_type.name
except NameError:
if (item.index_type is not None):
ind_type = item.index_type.name
else:
ind_type = "NA"

requests[rname][item.barcode] = [
Expand Down

0 comments on commit 8f2caa9

Please sign in to comment.