Skip to content

Commit

Permalink
Merge pull request #18085 from dcore94/dev
Browse files Browse the repository at this point in the history
Dynamic tool fixes
  • Loading branch information
jdavcs authored May 3, 2024
2 parents 509961f + 0658088 commit 77240b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/galaxy/managers/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ def create_tool(self, trans, tool_payload, allow_load=True):
tool_path=tool_path,
tool_directory=tool_directory,
uuid=uuid,
active=tool_payload.get("active"),
hidden=tool_payload.get("hidden"),
value=representation,
)
self.app.toolbox.load_dynamic_tool(dynamic_tool)
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/api/dynamic_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def show(self, trans, id, **kwd):
"""
GET /api/dynamic_tools/{encoded_dynamic_tool_id|tool_uuid}
"""
self._get_dynamic_tool(trans, id).to_dict()
return self._get_dynamic_tool(trans, id).to_dict()

@web.require_admin
@expose_api
Expand Down

0 comments on commit 77240b7

Please sign in to comment.