get_data_path

get_data_path(sub_path: str) → pathlib.Path[source]

Returns the Path object of a path in data and creates the parent folders if they don’t exist already

Parameters

sub_path (str) – subpath in data directory

Returns

Path to a file in data

Return type

Path