Skip to content

Commit

Permalink
Fix bug for interface method reloading jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed May 1, 2024
1 parent e583c35 commit b07ea71
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 b07ea71

Please sign in to comment.