list_string_to_tuple

glotaran.parse.util.list_string_to_tuple(a_list: List[str])List[Union[str, float]][source]

Converts a list of strings (representing tuples) to a list of tuples

Parameters

a_list (List[str]) – A list of strings, some of them representing (numbered) tuples

Returns

A list of the (numbered) tuples represted by the incoming a_list

Return type

List[Union[float, str]]