def FirstSignificant(pvals, thresh):
    """Given a list of temporal p-values for peptide phoshorylation changes
    return the time point at which the peptide is first significant
    or 'Not significant'
    """
    for t in range(len(pvals)):
        if pvals[t] <= thresh:
            return str(2**(t+1))
    return "Not significant"