diff --git a/src/pymatgen/io/aims/inputs.py b/src/pymatgen/io/aims/inputs.py index 6a5081d7688..46e61876f9a 100644 --- a/src/pymatgen/io/aims/inputs.py +++ b/src/pymatgen/io/aims/inputs.py @@ -584,7 +584,7 @@ def get_content( content += cube.control_block content += f"{lim}\n\n" - species_defaults = self._parameters.get("species_dir", "") + species_defaults = self._parameters.get("species_dir", SETTINGS.get("AIMS_SPECIES_DIR", "")) if not species_defaults: raise KeyError("Species' defaults not specified in the parameters")