diff --git a/src/atomate2/common/utils.py b/src/atomate2/common/utils.py index fd0b939eb1..5fd1c29167 100644 --- a/src/atomate2/common/utils.py +++ b/src/atomate2/common/utils.py @@ -116,6 +116,10 @@ def parse_additional_json(dir_name: Path) -> dict[str, Any]: additional_json = {} for filename in dir_name.glob("*.json*"): key = filename.name.split(".")[0] - if key not in ("custodian", "transformations"): + # ignore FW.json(.gz) so jobflow doesn't try to parse prev_vasp_dir + # OutputReferences was causing atomate2 MP workflows to fail with ValueError: + # Could not resolve reference 7f5a7f14-464c-4a5b-85f9-8d11b595be3b not in store + # or cache contact @janosh in case of questions + if key not in ("custodian", "transformations", "FW"): additional_json[key] = loadfn(filename, cls=None) return additional_json diff --git a/tests/test_data/vasp/Si_mp_meta_gga_relax/r2scan_relax/outputs/FW.json.gz b/tests/test_data/vasp/Si_mp_meta_gga_relax/r2scan_relax/outputs/FW.json.gz new file mode 100644 index 0000000000..fc5fd64e6c Binary files /dev/null and b/tests/test_data/vasp/Si_mp_meta_gga_relax/r2scan_relax/outputs/FW.json.gz differ