def _parse_data_path(path, label): from glue.core.data_factories import load_data, as_list data = load_data(path) for d in as_list(data): d.label = label return as_list(data)
def _parse_data_path(path, label): from glue.core.data_factories import load_data, as_list data = load_data(path) for d in as_list(data): d.label = label return as_list(data)