Skip to content

Commit

Permalink
Fix typo in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
greschd committed Feb 2, 2023
1 parent d70457f commit 9fabe2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tbmodels/_tb_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ def from_wannier_tb_files( # pylint: disable=too-many-locals
)
if "pos" in kwargs:
raise ValueError(
"Ambiguous orbital positions: The positions can be given either via the 'pos' or the 'xyz_file' keywords, but not both."
"Ambiguous orbital positions: The positions can be given either via the 'pos' or the 'tb_file' keywords, but not both."
)

with open(tb_file, encoding="utf-8") as f:
Expand Down

0 comments on commit 9fabe2a

Please sign in to comment.