Skip to content

Commit

Permalink
Merge pull request #1402 from pyiron/interfacemethod_bugfix
Browse files Browse the repository at this point in the history
Fix bug for interface method reloading jobs
  • Loading branch information
jan-janssen committed May 2, 2024
2 parents 394c588 + b07ea71 commit 671d7ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_atomistics/thermodynamics/interfacemethod.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def freeze_one_half(basis):
Returns:
pyiron_atomistics.structure.atoms.Atoms: Atomistic structure object with half of the atoms fixed
"""
basis.add_tag(selective_dynamics=None)
basis.add_tag(selective_dynamics=[True, True, True])
_, _, z = basis.scaled_pos_xyz()
for selector, ind in zip(z < 0.5, range(len(basis))):
if selector:
Expand Down

0 comments on commit 671d7ea

Please sign in to comment.