Skip to content

Commit

Permalink
Improve raised by get_atom_data
Browse files Browse the repository at this point in the history
  • Loading branch information
odstrcilt authored Nov 30, 2023
1 parent f20a9c0 commit d308905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aurora/atomic.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def get_atom_data(imp, files=["acd", "scd"]):

for filecheck in files:
if filecheck not in all_files:
raise ValueError(f"Could not fetch {imp} {filecheck.upper()} file!")
raise ValueError(f"Could not fetch {imp} {filecheck.upper()} file! Please specify file locations using 'files' argument, for example files=dict(acd='user/acd89_ar.dat')")

atom_data = {}
for filetype in all_files:
Expand Down

0 comments on commit d308905

Please sign in to comment.