Builds and evaluates BUFF internal energy of a model in parallelization

    Parameters
    ----------
    params: list
        Tuple containing the specification to be built, the sequence
        and the parameters for model building.

    Returns
    -------
    model.bude_score: float
        BUFF internal energy score to be assigned to particle fitness
        value.

def buff_internal_eval(params):
    """Builds and evaluates BUFF internal energy of a model in parallelization

    Parameters
    ----------
    params: list
        Tuple containing the specification to be built, the sequence
        and the parameters for model building.

    Returns
    -------
    model.bude_score: float
        BUFF internal energy score to be assigned to particle fitness
        value.
    """

    specification, sequence, parsed_ind = params
    model = specification(*parsed_ind)
    model.build()
    model.pack_new_sequences(sequence)
    return model.buff_internal_energy.total_energy