From 576db8e174df4726bec6910ec1c458a337bd6d7a Mon Sep 17 00:00:00 2001 From: esoteric-ephemera Date: Mon, 20 May 2024 11:37:48 -0700 Subject: [PATCH] add missing `output_dir` kwarg to vaspinputset.write_input --- pymatgen/io/vasp/sets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymatgen/io/vasp/sets.py b/pymatgen/io/vasp/sets.py index 864b90bc33a..0071f8613ac 100644 --- a/pymatgen/io/vasp/sets.py +++ b/pymatgen/io/vasp/sets.py @@ -356,7 +356,7 @@ def write_input( cif_name = f"{output_dir}/{struct.formula.replace(' ', '')}.cif" vasp_input.write_input( - output_dir, + output_dir=output_dir, make_dir_if_not_present=make_dir_if_not_present, cif_name=cif_name, zip_name=f"{type(self).__name__}.zip" if zip_output else None,