Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Lioscro committed Nov 21, 2023
1 parent 164e5e5 commit 4c53d78
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ngs_tools/sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@
'V': 'B',
}
NUCLEOTIDE_MASKS = {
n:
np.array([
_n in NUCLEOTIDES_AMBIGUOUS.get(n, [n]) for _n in NUCLEOTIDES_STRICT
],
dtype=bool)
n: np.array([
_n in NUCLEOTIDES_AMBIGUOUS.get(n, [n]) for _n in NUCLEOTIDES_STRICT
],
dtype=bool)
for n in NUCLEOTIDES
}
MASK_TO_NUCLEOTIDE = {tuple(mask): n for n, mask in NUCLEOTIDE_MASKS.items()}
Expand Down

0 comments on commit 4c53d78

Please sign in to comment.