def label_array_fails(intervals, min_probes, bed_header, tnames):
    """
    Generate pd.DataFrame of pass/fail labels per interval per array
    """

    bed_df = intervals.to_dataframe(names=bed_header + tnames, comment='#')

    for track in tnames:
        bed_df[track] = (bed_df[track] >= min_probes)
    
    return bed_df