def clean_multiple_coordsets(protein):
    """
    Deletes all but the first coordinate set of a protein.
    """
    if len(protein.getCoordsets()) > 1:
        for i in range(len(protein.getCoordsets())):
            if i == 0:
                pass
            else:
                protein.delCoordset(-1)
    return protein