def get_failed_conditions(conditions):
    """Get a comma separated string for the conditions that failed."""
    if conditions is None:
        return ''
    return ', '.join([c.condition.name for c in conditions if not c.nominal])