Skip to content

Commit

Permalink
remove debug stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
paulzierep committed Oct 2, 2024
1 parent 957d094 commit f31d818
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions sources/bin/extract_galaxy_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f31d818

Please sign in to comment.