From 910f6ac74317a84929186990f217440dc1e62d8f Mon Sep 17 00:00:00 2001 From: Benjamin Pritchard Date: Thu, 25 Apr 2024 10:32:05 -0400 Subject: [PATCH] Version strings sometimes contain (uppercase) characters --- qcfractal/qcfractal/components/managers/socket.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qcfractal/qcfractal/components/managers/socket.py b/qcfractal/qcfractal/components/managers/socket.py index 723e3e53a..067edba0b 100644 --- a/qcfractal/qcfractal/components/managers/socket.py +++ b/qcfractal/qcfractal/components/managers/socket.py @@ -96,7 +96,9 @@ def activate( # Strip out empty tags and programs tags = [x.lower() for x in tags if len(x) > 0] - programs = {k.lower(): v for k, v in programs.items() if len(k) > 0} + + # Some version strings can contain uppercase characters + programs = {k.lower(): [v.lower() for v in vlst] for k, vlst in programs.items() if len(k) > 0} if len(tags) == 0: raise ComputeManagerError("Manager does not have any tags assigned. Use '*' to match all tags")