def merge_predictions(types, subtypes):
    """Merge the the type and subtype predictions."""
    for key, val in subtypes.items():
        if key != "sample":
            types[key] = val
    return types