def _consolidate_elemental_array_(elemental_array):
    """
    Accounts for non-empirical chemical formulas by taking in the compositional array generated by _create_compositional_array_() and returning a consolidated array of dictionaries with no repeating elements

    :param elemental_array: an elemental array generated from _create_compositional_array_()
    :return: an array of element dictionaries
    """
    condensed_array = []
    for e in elemental_array:
        exists = False
        for k in condensed_array:
            if k['symbol'] == e['symbol']:
                exists = True
                k['occurances'] += e['occurances']
                break
        if not exists:
            condensed_array.append(e)
    return condensed_array
