From 0eaa236c7cdc97ef704ab345ef54e8566a8a6e1f Mon Sep 17 00:00:00 2001 From: paulzierep Date: Wed, 6 Nov 2024 17:09:47 +0100 Subject: [PATCH] swap users and usage and update columns --- sources/bin/extract_galaxy_tools.py | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/sources/bin/extract_galaxy_tools.py b/sources/bin/extract_galaxy_tools.py index 01279a4c..892facb9 100644 --- a/sources/bin/extract_galaxy_tools.py +++ b/sources/bin/extract_galaxy_tools.py @@ -42,24 +42,20 @@ GALAXY_TOOL_STATS = { # EU - "No. of tool users (5 years) (usegalaxy.eu)": usage_stats_path.joinpath("eu/tool_usage_5y_until_2024.08.31.csv"), - "No. of tool users (all time) (usegalaxy.eu)": usage_stats_path.joinpath("eu/tool_usage_until_2024.08.31.csv"), - "Tool usage (5 years) (usegalaxy.eu)": usage_stats_path.joinpath("eu/tool_users_5y_until_2024.08.31.csv"), - "Tool usage (all time) (usegalaxy.eu)": usage_stats_path.joinpath("eu/tool_users_until_2024.08.31.csv"), + "Suite users (5 years) (usegalaxy.eu)": usage_stats_path.joinpath("eu/tool_users_5y_until_2024.08.31.csv"), + "Suite users (usegalaxy.eu)": usage_stats_path.joinpath("eu/tool_users_until_2024.08.31.csv"), + "Suite runs (5 years) (usegalaxy.eu)": usage_stats_path.joinpath("eu/tool_usage_5y_until_2024.08.31.csv"), + "Suite runs (usegalaxy.eu)": usage_stats_path.joinpath("eu/tool_usage_until_2024.08.31.csv"), # ORG - "No. of tool users (5 years) (usegalaxy.org)": usage_stats_path.joinpath("org/tool_usage_5y_until_2024.08.31.csv"), - "No. of tool users (all time) (usegalaxy.org)": usage_stats_path.joinpath("org/tool_usage_until_2024.08.31.csv"), - "Tool usage (5 years) (usegalaxy.org)": usage_stats_path.joinpath("org/tool_users_5y_until_2024.08.31.csv"), - "Tool usage (all time) (usegalaxy.org)": usage_stats_path.joinpath("org/tool_users_until_2024.08.31.csv"), + "Suite users (5 years) (usegalaxy.org)": usage_stats_path.joinpath("org/tool_users_5y_until_2024.08.31.csv"), + "Suite users (usegalaxy.org)": usage_stats_path.joinpath("org/tool_users_until_2024.08.31.csv"), + "Suite runs (5 years) (usegalaxy.org)": usage_stats_path.joinpath("org/tool_usage_5y_until_2024.08.31.csv"), + "Suite runs (usegalaxy.org)": usage_stats_path.joinpath("org/tool_usage_until_2024.08.31.csv"), # AU - "No. of tool users (5 years) (usegalaxy.org.au)": usage_stats_path.joinpath( - "org.au/tool_usage_5y_until_2024.08.31.csv" - ), - "No. of tool users (all time) (usegalaxy.org.au)": usage_stats_path.joinpath( - "org.au/tool_usage_until_2024.08.31.csv" - ), - "Tool usage (5 years) (usegalaxy.org.au)": usage_stats_path.joinpath("org.au/tool_users_5y_until_2024.08.31.csv"), - "Tool usage (all time) (usegalaxy.org.au)": usage_stats_path.joinpath("org.au/tool_users_until_2024.08.31.csv"), + "Suite users (5 years) (usegalaxy.org.au)": usage_stats_path.joinpath("org.au/tool_users_5y_until_2024.08.31.csv"), + "Suite users (usegalaxy.org.au)": usage_stats_path.joinpath("org.au/tool_users_until_2024.08.31.csv"), + "Suite runs (5 years) (usegalaxy.org.au)": usage_stats_path.joinpath("org.au/tool_usage_5y_until_2024.08.31.csv"), + "Suite runs (usegalaxy.org.au)": usage_stats_path.joinpath("org.au/tool_usage_until_2024.08.31.csv"), } # all columns that contain the text will be summed up to a new column with summed up stats