Skip to content

Commit

Permalink
Merge pull request #18591 from dannon/fix-tool-tag-log
Browse files Browse the repository at this point in the history
[24.0] Fix sqlalchemy statement in tooltagmanager reset output
  • Loading branch information
mvdbeek authored Jul 25, 2024
2 parents b8cccdc + dffe721 commit f15f028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def __init__(self, app):

def reset_tags(self):
log.info(
f"removing all tool tag associations ({str(self.sa_session.scalar(select(func.count(self.app.model.ToolTagAssociation))))})"
f"removing all tool tag associations ({str(self.sa_session.scalar(select(func.count(self.app.model.ToolTagAssociation.id))))})"
)
self.sa_session.execute(delete(self.app.model.ToolTagAssociation))
with transaction(self.sa_session):
Expand Down

0 comments on commit f15f028

Please sign in to comment.