macpie.Dataset.display_name_generator#

property Dataset.display_name_generator#

The function used to generate display_name. The function should have the following input signature and will be passed the following parameters:

Parameters:
arg1: str

Dataset.name

arg2: str or list of str

Dataset.tags

max_lengthint, Default is -1 (meaning no limit)

Maximum length of the display name

delimiterstr, Default is “_”

Delimiter to use to separate tags.

Notes

Defaults to macpie.strtools.add_suffixes_with_base(), which simply appends any tags to the Dataset name.