diff --git a/cij/core/calculator.py b/cij/core/calculator.py index 562b5bd..e4f9b0e 100644 --- a/cij/core/calculator.py +++ b/cij/core/calculator.py @@ -68,12 +68,13 @@ def _load(self, config_fname: str): def _apply_elastic_constants_symmetry(self): - system = self.config["elast"]["settings"]["symmetry"].get("system", None) + symmetry = self.config["elast"]["settings"]["symmetry"] + system = symmetry.get("system", None) if system == None or system == "triclinic": logger.warning(f"Symmetry constraints check not performed! Make sure to fill in all non-zero terms for correct VRH averages!") else: - apply_symetry_on_elast_data(self.elast_data, system) + apply_symetry_on_elast_data(self.elast_data, symmetry) def _interpolate_modes(self): interp_freq, gamma_i, vdr_dv = interpolate_modes(