diff --git a/bin/extract_galaxy_tools.py b/bin/extract_galaxy_tools.py index 181df7a7..28391ae9 100644 --- a/bin/extract_galaxy_tools.py +++ b/bin/extract_galaxy_tools.py @@ -428,10 +428,10 @@ def parse_tools(repo: Repository) -> List[Dict[str, Any]]: for folder in tool_folders: 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) + if g.get_rate_limit().core.remaining < 200: + 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,