Skip to content

Commit

Permalink
Fixed to_ase_atoms
Browse files Browse the repository at this point in the history
  • Loading branch information
JosePizarro3 committed Jan 29, 2024
1 parent 8989aa5 commit 6866cfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simulationdataschema/model_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def resolve_bulk_symmetry(self, original_atomic_cell, logger):
"""
symmetry = {}
try:
ase_atoms = original_atomic_cell.to_ase_atoms(original_atomic_cell, logger)
ase_atoms = original_atomic_cell.to_ase_atoms(logger)
symmetry_analyzer = SymmetryAnalyzer(
ase_atoms, symmetry_tol=config.normalize.symmetry_tolerance
)
Expand Down Expand Up @@ -608,7 +608,7 @@ def resolve_chemical_formulas(self, formula):

def normalize(self, archive, logger):
atomic_cell = check_parent_and_atomic_cell(self, logger)
ase_atoms = atomic_cell.to_ase_atoms(atomic_cell, logger)
ase_atoms = atomic_cell.to_ase_atoms(logger)
formula = None
try:
formula = Formula(ase_atoms.get_chemical_formula())
Expand Down

0 comments on commit 6866cfc

Please sign in to comment.