def set_list_as_str(l):
    """Small utility function to transform list in string

    Parameters
    ----------
    l : list
        Input list

    Returns
    -------
    str
        Stringified version of the input list, with items separated with a comma
    """
    if type(l) == list:
        return ",".join(str(e) for e in l)