Skip to content

Commit

Permalink
Correct error message to point to the previosly defined module change
Browse files Browse the repository at this point in the history
  • Loading branch information
pmrv authored Dec 5, 2023
1 parent aa36361 commit 28a8fa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_base/project/maintenance.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def add_module_conversion(old: str, new: str):
_MODULE_CONVERSION_DICT[old] = new
elif _MODULE_CONVERSION_DICT[old] != new:
raise ValueError(
f"Module path '{old}' already found in conversion dict, pointing to '{new}'!"
f"Module path '{old}' already found in conversion dict, pointing to '{_MODULE_CONVERSION_DICT[old]}'!"
)


Expand Down

0 comments on commit 28a8fa1

Please sign in to comment.