lama/common.py
def csv_read_lines(path):
    """
    Read lines from a csv. Each line is assumed to have one entry only, such as a specimen id
    ----------
    path: str
        path to csv file

    Returns
    -------
    list of lines
    """
    lines = []
    with open(path, 'r') as fh:
        for line in fh:
            lines.append(line.strip())
    return lines

    Read lines from a csv. Each line is assumed to have one entry only, such as a specimen id
    ----------
    path: str
        path to csv file

    Returns
    -------
    list of lines
    
Read lines from a csv. Each line is assumed to have one entry only, such as a specimen id
path: str
path to csv file

Returns

list of lines
Read lines from a csv . Each line is assumed to have one entry only such as a specimen id path : str path to csv file Returns list of lines
def csv_read_lines(path):
    lines = []
    with open(path, 'r') as fh:
        for line in fh:
            lines.append(line.strip())
    return lines
def csv_read_lines ( path ) : lines = [ ] with open ( path , 'r' ) as fh : for line in fh : lines . append ( line . strip ( ) ) return lines
Read lines from a csv.
Read lines from a csv .
"""
    Read lines from a csv. Each line is assumed to have one entry only, such as a specimen id
    ----------
    path: str
        path to csv file

    Returns
    -------
    list of lines
    """
path