zpath

Contents

zpath#

autoplex.misc.utils.mock_castep.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