Skip to content

Commit

Permalink
Merge pull request #7 from johnne/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
johnne authored Dec 8, 2021
2 parents 956a865 + d197a50 commit 19d7fa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="coidb",
version="0.3.0",
version="0.3.1",
author="John Sundh",
url="https://github.com/NBISweden/coidb/",
description="Workflow for downloading and formatting COI database",
Expand Down
2 changes: 1 addition & 1 deletion src/coidb/scripts/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def filter_non_standard(df):
seq = seq.replace("-", "").strip("N")
letters = set([x for x in seq])
for l in letters:
if l not in ["A", "C", "G", "T"]:
if l.upper() not in ["A", "C", "G", "T"]:
drop_ids.append(record_id)
break
return df.drop(drop_ids), len(drop_ids)
Expand Down

0 comments on commit 19d7fa8

Please sign in to comment.