Skip to content

Commit

Permalink
Merge pull request #1573 from pyiron/vasp_slash
Browse files Browse the repository at this point in the history
Vasp: Fix issue with slash in POTCAR name
  • Loading branch information
jan-janssen authored Oct 17, 2024
2 parents fbab98e + ae33028 commit eadc786
Show file tree
Hide file tree
Showing 3 changed files with 4,433 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyiron_atomistics/vasp/structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def _dict_to_atoms(atoms_dict, species_list=None, read_from_first_line=False):
elements_new = list()
for ele in elements:
for e in ele:
elements_new.append(e)
elements_new.append(e.replace("/", ""))
elements = elements_new
if is_absolute:
atoms = Atoms(elements, positions=positions, cell=cell, pbc=True)
Expand Down
Loading

0 comments on commit eadc786

Please sign in to comment.