From ee23fc3fe9a5841dc5eafe4d121bafe6fa3b1b69 Mon Sep 17 00:00:00 2001 From: Vincent Kataikko Date: Tue, 12 Sep 2023 13:18:01 +0200 Subject: [PATCH] lint changes --- db/scripts/read/read_functional.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/db/scripts/read/read_functional.py b/db/scripts/read/read_functional.py index 36dba486..78e33a69 100644 --- a/db/scripts/read/read_functional.py +++ b/db/scripts/read/read_functional.py @@ -38,7 +38,9 @@ def post_processing(functional: list[pd.DataFrame], species: bool): print_update(update_type="Post processing", text="Functional files", color="red") ft_nodes = functional[1].filter(items=["id", "name", "category", "proteins"]) - ft_nodes = ft_nodes.rename(columns={"id": "Term", "name": "Name", "category": "Category", "proteins": "Proteins"}) + ft_nodes = ft_nodes.rename( + columns={"id": "Term", "name": "Name", "category": "Category", "proteins": "Proteins"} + ) ft_protein_df_list = [] ft_gene_df_list = []