get_uri#

atomate2.utils.path.get_uri(dir_name)[source]#

Return the URI path for a directory.

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

Parameters:

dir_name (str or Path) – A directory name.

Returns:

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

Return type:

str