Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions malariagen_data/anoph/snp_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ def _locate_site_class(
try:
loc_ann = self._cache_locate_site_class[cache_key]

except KeyError as exc:
except KeyError:
# Access site annotations data.
ds_ann = self._site_annotations_raw(
contig=region.contig,
Expand Down Expand Up @@ -923,7 +923,7 @@ def _locate_site_class(
) | ((seq_cls == SEQ_CLS_DOWNSTREAM) & (seq_relpos_start > 10_000))

else:
raise NotImplementedError(site_class) from exc
raise NotImplementedError(site_class) from None

# N.B., site annotations data are provided for every position in the genome. We need to
# therefore subset to SNP positions.
Expand Down
Loading