tumourkit.utils.preprocessing.parse_path

tumourkit.utils.preprocessing.parse_path(path: str) str

Parses a file path and checks for a trailing slash.

Parameters:

path (str) – The file path to parse.

Returns:

The parsed file path with a trailing slash.

Return type:

str