Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap users and usage and update columns #221

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 12 additions & 16 deletions sources/bin/extract_galaxy_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down