Skip to content

Commit

Permalink
Fix bug in add_basis_from_dict
Browse files Browse the repository at this point in the history
  • Loading branch information
susilehtola committed Nov 16, 2024
1 parent 80c241f commit 6d0adb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basis_set_exchange/curate/add_basis.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def add_basis_from_dict(bs_data,
# and that there are no duplicates
for el in elements:
if el not in orig_elements:
raise RuntimeError("Element {} not found in file {}".format(el, bs_file))
raise RuntimeError("Element {} not found in given dictionary".format(el))
if el in done_elements:
raise RuntimeError("Duplicate element {} in reference string {}".format(el, k))

Expand Down

0 comments on commit 6d0adb9

Please sign in to comment.