Skip to content

Commit

Permalink
Merge pull request #638 from bennybp/ptlfix
Browse files Browse the repository at this point in the history
Fix incorrect error in datasets (issue #587)
  • Loading branch information
bennybp authored Nov 1, 2020
2 parents a0b38a6 + 31991d2 commit 637c903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qcfractal/interface/collections/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@ def add_keywords(self, alias: str, program: str, keyword: "KeywordSet", default:
self.data.alias_keywords[program] = {}

if alias in self.data.alias_keywords[program]:
raise KeyError("Alias '{}' already set for program {}.".format(alias, keyword.program))
raise KeyError("Alias '{}' already set for program {}.".format(alias, program))

self._new_keywords[(program, alias)] = keyword

Expand Down

0 comments on commit 637c903

Please sign in to comment.