def read_units(units_comboboxes):
    """Read units from GUI comboboxes."""
    units = dict()
    for key in units_comboboxes.keys():
        units[key] = units_comboboxes[key].currentText()
    return units