bids.reports.utils.list_to_str

list_to_str(lst)[source]

Turn a list into a comma- and/or and-separated string.

Parameters:lst (list) – A list of strings to join into a single string.
Returns:str_ – A string with commas and/or ands separating th elements from lst.
Return type:str