get_uri#

atomate2.utils.path.get_uri(dir_name: str | Path) str[source]#

Return the URI path for a directory.

This allows files hosted on different file servers to have distinct locations.

Parameters
dir_namestr or Path

A directory name.

Returns
str

Full URI path, e.g., “fileserver.host.com:/full/path/of/dir_name”.