Skip to content

Commit

Permalink
Merge pull request #15 from pyiron/wrap_string
Browse files Browse the repository at this point in the history
Wrap string
  • Loading branch information
samwaseda authored Nov 20, 2024
2 parents c0c2aaa + 4dd1e87 commit bb5fe56
Show file tree
Hide file tree
Showing 6 changed files with 283 additions and 20 deletions.
4 changes: 2 additions & 2 deletions stinx/ase.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_structure_group(structure, use_symmetry=True):
):
atom_group = {
"coords": np.array(elm_pos),
"label": f'"spin_{elm_magmom}"',
"label": "spin_{elm_magmom}",
}
if all(selective):
atom_group["movable"] = True
Expand All @@ -57,7 +57,7 @@ def get_structure_group(structure, use_symmetry=True):
atom_group["movable" + xx] = True
atom_list.append(sphinx.structure.species.atom.create(**atom_group))
species.append(
sphinx.structure.species.create(element=f'"{elm_species}"', atom=atom_list)
sphinx.structure.species.create(element=elm_species, atom=atom_list)
)
symmetry = None
if not use_symmetry:
Expand Down
Loading

0 comments on commit bb5fe56

Please sign in to comment.