WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 8f27c41

Browse files
authored
Merge pull request #227 from pyiron/remove_structure_check
Remove structure set
2 parents 58e6068 + f8ef183 commit 8f27c41

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pylammpsmpi/wrapper/ase.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,6 @@ def interactive_structure_setter(
145145
el_eam_lst,
146146
calc_md=True,
147147
):
148-
if self._structure is not None:
149-
old_symbols = get_species_symbols(structure=self._structure)
150-
new_symbols = get_species_symbols(structure)
151-
if any(old_symbols != new_symbols):
152-
raise ValueError(
153-
f"structure has different chemical symbols than old one: {new_symbols} != {old_symbols}"
154-
)
155148
self.interactive_lib_command(command="clear")
156149
control_dict = set_selective_dynamics(structure=structure, calc_md=calc_md)
157150
self.interactive_lib_command(command="units " + units)

0 commit comments

Comments
 (0)