Skip to content

Commit

Permalink
Fix syntax of format statement
Browse files Browse the repository at this point in the history
  • Loading branch information
vanderhe committed May 22, 2024
1 parent 9efd683 commit ecac7d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sktools/src/sktools/skdef.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ def fromhsd(cls, root, query):
name = node.tag
match = cls._PATTERN_DEFAULT.match(name)
if not match:
msg = "Invalid two center interaction '{}'".name
msg = "Invalid two center interaction '{}'".format(name)
raise sc.SkgenException(msg)
name1, name2 = match.groups()
key = min(name1, name2), max(name1, name2)
Expand Down

0 comments on commit ecac7d9

Please sign in to comment.