From f31d818d497a4e81087db7ae061c3bc0f4594104 Mon Sep 17 00:00:00 2001 From: paulzierep Date: Wed, 2 Oct 2024 15:26:26 +0200 Subject: [PATCH] remove debug stuff --- sources/bin/extract_galaxy_tools.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/sources/bin/extract_galaxy_tools.py b/sources/bin/extract_galaxy_tools.py index e0171e85..cdce103b 100644 --- a/sources/bin/extract_galaxy_tools.py +++ b/sources/bin/extract_galaxy_tools.py @@ -449,10 +449,10 @@ def parse_tools(repo: Repository) -> List[Dict[str, Any]]: for tool in folder: # to avoid API request limit issue, wait for one hour if g.get_rate_limit().core.remaining < 200: - # print("WAITING for 1 hour to retrieve GitHub API request access !!!") - # print() - # time.sleep(60 * 60) - pass + print("WAITING for 1 hour to retrieve GitHub API request access !!!") + print() + time.sleep(60 * 60) + # parse tool # if the folder (tool) has a .shed.yml file run get get_tool_metadata on that folder, # otherwise go one level down and check if there is a .shed.yml in a subfolder @@ -679,8 +679,6 @@ def get_tools(repo_list: list, edam_ontology: dict) -> List[Dict]: # add tool stats for name, path in GALAXY_TOOL_STATS.items(): tool_stats_df = pd.read_csv(path) - print("*****************data*****************") - print(tool_stats_df.shape) tool[name] = get_tool_stats_from_stats_file(tool_stats_df, tool["Galaxy tool ids"]) return tools