Skip to content

Commit

Permalink
Merge pull request #24 from molssi-seamm/dev
Browse files Browse the repository at this point in the history
Fixed bug handling keywords with arguments.
  • Loading branch information
seamm authored May 16, 2022
2 parents 2745616 + 3cff621 commit af00268
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion seamm_widgets/keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ def get_keywords(self):
if value == "":
keywords.append(keyword)
else:
keywords.append(format(definition["format"], keyword, value))
result = definition["format"].format(keyword, value)
keywords.append(result)
else:
keywords.append(keyword)

Expand Down

0 comments on commit af00268

Please sign in to comment.