From dffe7217443f8d1d55cccf921d92b64e363ca3b4 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Tue, 23 Jul 2024 09:58:46 -0400 Subject: [PATCH] Fix sqlalchemy statement in tooltagmanager reset output --- lib/galaxy/tools/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/tools/__init__.py b/lib/galaxy/tools/__init__.py index 7209daa65cf1..42fe49f58f4d 100644 --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -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):