docstring update

This commit is contained in:
Jakub Jezek 2023-08-28 14:01:36 +02:00
parent e10ca74b1b
commit c99aa746a2
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -226,13 +226,11 @@ def get_colorspace_from_filepath(config_path, filepath):
def parse_colorspace_from_filepath(
filepath, colorspaces=None, config_path=None
):
"""Parse colorspace name from list of filepaths
"""Parse colorspace name from filepath
An input path can have colorspace name used as part of name
or as folder name.
# add example python code block
Example:
>>> config_path = "path/to/config.ocio"
>>> colorspaces = get_ocio_config_colorspaces(config_path)