parse_custodian

atomate2.common.utils.parse_custodian(dir_name)[source]

Parse custodian.json file.

Calculations done using custodian have a custodian.json file which tracks the makers performed and any errors detected and fixed.

Parameters:

dir_name (Path) – Path to calculation directory.

Returns:

The information parsed from custodian.json file.

Return type:

Optional[dict]