zpath

atomate2.utils.testing.vasp.zpath(path)[source]

Return the path of a zip file.

Returns an existing (zipped or unzipped) file path given the unzipped version. If no path exists, returns the unmodified path.

Parameters:

path (str | Path)

Return type:

Path