Skip to content

Commit fd5169e

Browse files
committed
update_atomtypes -> update in translator.py
1 parent 31c4b9c commit fd5169e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rmgpy/molecule/translator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ def _read(mol, identifier, identifier_type, backend, raise_atomtype_exception=Tr
519519

520520
if _lookup(mol, identifier, identifier_type) is not None:
521521
if _check_output(mol, identifier):
522-
mol.update_atomtypes(log_species=True, raise_exception=raise_atomtype_exception)
522+
mol.update(log_species=True, raise_atomtype_exception=raise_atomtype_exception, sort_atoms=False)
523523
return mol
524524

525525
for option in _get_backend_list(backend):
@@ -531,7 +531,7 @@ def _read(mol, identifier, identifier_type, backend, raise_atomtype_exception=Tr
531531
raise NotImplementedError("Unrecognized backend {0}".format(option))
532532

533533
if _check_output(mol, identifier):
534-
mol.update_atomtypes(log_species=True, raise_exception=raise_atomtype_exception)
534+
mol.update(log_species=True, raise_atomtype_exception=raise_atomtype_exception, sort_atoms=False)
535535
return mol
536536
else:
537537
logging.debug('Backend {0} is not able to parse identifier {1}'.format(option, identifier))

0 commit comments

Comments
 (0)