Skip to content

Commit

Permalink
removing column name filter
Browse files Browse the repository at this point in the history
  • Loading branch information
hrshdhgd committed Sep 23, 2024
1 parent c541562 commit 52faa6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/uniprot2s3/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ def fetch_uniprot_reference_proteome_data() -> list:
# Write response to file if it contains data
if len(response.text.strip().split("\n")) > 1:
with open(file_path, "a") as file:
file.write(response.text) if PROTEOMES_ORGANISM_ID_COLUMNNAME not in response.text else None
# file.write(response.text) if PROTEOMES_ORGANISM_ID_COLUMNNAME not in response.text else None
file.write(response.text)

# Read file to df for sorting
df = pd.read_csv(file_path, sep="\t", low_memory=False)
Expand Down

0 comments on commit 52faa6b

Please sign in to comment.