def pipe2glue(pcomments, pformat, rec):
    """
    Convert a NMRPipe table to a nmrglue table

    Parameters
    ----------
    pcomments : list
        List of NMRPipe comment lines.
    pformats : list
        List of NMRPipe table column formats strings.
    rec : recarray
        Records array with named fields.

    Returns
    -------
    comments : list
        List of comments
    rec : recarray
        Records array with named fields.

    """
    # add a "#" to the list of comments and we are done
    comments = ["# " + c for c in pcomments]
    return comments, rec