diff --git a/src/msspec/parameters.py b/src/msspec/parameters.py index e2348a2..eaeb91e 100644 --- a/src/msspec/parameters.py +++ b/src/msspec/parameters.py @@ -1516,13 +1516,13 @@ class CalculationParameters(BaseParameters): self.spec_parameters.calc_iren = 1 elif p.value.lower() == 'G_n'.lower(): self.spec_parameters.calc_iren = 2 - LOGGER.info(f"Renormalization activated with \'{p.value}\' method") + LOGGER.info("Renormalization activated with \'{}\' method".format(p.value)) def bind_renormalization_omega(self, p): omega = complex(p.value) self.spec_parameters.calc_renr = omega.real self.spec_parameters.calc_reni = omega.imag - LOGGER.info(f"Renormalization omega set to \'{p.value}\'") + LOGGER.info("Renormalization omega set to \'{}\'".format(p.value)) def bind_RA_cutoff_damping(self, p): self.spec_parameters.calc_ino = p.value @@ -1555,9 +1555,9 @@ class CalculationParameters(BaseParameters): LOGGER.info('Radial integrals taken into account: %s', p.value) if self.global_parameters.spinpol is False: LOGGER.warning( - f"'{p.name}' is ignored since the 'spinpol' global parameter is set " + "'{}' is ignored since the 'spinpol' global parameter is set " "to False. Enable spin polarization in the constructor of " - "your Calculator if you want to use this option.") + "your Calculator if you want to use this option.".format(p.name)) def bind_path_filtering(self, p): ifwd = ipw = ilength = 0