import csv
import ast


def get_paths(path_csv):
    """ Gets the path coordinates from an output.csv file.
    """
    with open(path_csv, mode='r') as f:
        reader = csv.reader(f)
        paths = []
        for row in reader:
             if 'True' in row:
                paths.append(ast.literal_eval(row[2]))
    return paths