Skip to content

Commit

Permalink
Version strings sometimes contain (uppercase) characters
Browse files Browse the repository at this point in the history
  • Loading branch information
bennybp committed Apr 25, 2024
1 parent ca892ba commit 910f6ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion qcfractal/qcfractal/components/managers/socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 910f6ac

Please sign in to comment.