Skip to content

Commit

Permalink
Make list a set
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-parker committed Nov 6, 2024
1 parent c37e436 commit 5e1539b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ingest/scripts/filter_out_depositions.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def filter_out_depositions(
df = pd.read_csv(input_metadata_tsv, sep="\t", dtype=str, keep_default_na=False)
original_count = len(df)
with open(exclude_insdc_accessions, encoding="utf-8") as f:
loculus_insdc_accessions = [line.strip().split(".")[0] for line in f] # Remove version info
loculus_insdc_accessions: set = {line.strip().split(".")[0] for line in f} # Remove version

with open(exclude_biosample_accessions, encoding="utf-8") as f:
loculus_biosample_accessions = [line.strip() for line in f]
Expand Down

0 comments on commit 5e1539b

Please sign in to comment.