diff --git a/interfaces/ASE_interface/abacuslite/io/latestio.py b/interfaces/ASE_interface/abacuslite/io/latestio.py index 4ba04437652..57a38a44299 100644 --- a/interfaces/ASE_interface/abacuslite/io/latestio.py +++ b/interfaces/ASE_interface/abacuslite/io/latestio.py @@ -12,7 +12,7 @@ SinglePointDFTCalculator ) from ase.units import GPa -from ase.constraints import full_3x3_to_voigt_6_stress +from ase.stress import full_3x3_to_voigt_6_stress # some output formats are not updated, # for these cases, we import from the legacyio module diff --git a/interfaces/ASE_interface/abacuslite/io/legacyio.py b/interfaces/ASE_interface/abacuslite/io/legacyio.py index ce4a0aa49d7..9772a6363d3 100644 --- a/interfaces/ASE_interface/abacuslite/io/legacyio.py +++ b/interfaces/ASE_interface/abacuslite/io/legacyio.py @@ -12,7 +12,7 @@ SinglePointDFTCalculator ) from ase.units import Ry, eV, GPa, bar -from ase.constraints import full_3x3_to_voigt_6_stress +from ase.stress import full_3x3_to_voigt_6_stress # from ase.utils import reader __all__ = ['read_kpoints_from_running_log',