Skip to content

Commit

Permalink
Update lib/galaxy/tool_util/toolbox/base.py
Browse files Browse the repository at this point in the history
Co-authored-by: Nicola Soranzo <[email protected]>
  • Loading branch information
2 people authored and mvdbeek committed Sep 10, 2023
1 parent a45012b commit b2c5967
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/galaxy/tool_util/toolbox/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1153,10 +1153,7 @@ def register_tool(self, tool):
self._tools_by_id[tool_id] = tool
else:
self._tools_by_id[tool_id] = tool
old_id = tool.old_id
if old_id not in self._tools_by_old_id:
self._tools_by_old_id[old_id] = []
self._tools_by_old_id[old_id].append(tool)
self._tools_by_old_id.setdefault(tool.old_id, []).append(tool)

def package_tool(self, trans, tool_id):
"""
Expand Down

0 comments on commit b2c5967

Please sign in to comment.