

def _gather_data(self):
    ' Build a mapping from unique labels -> data objects '
    for data in self._collection:
        label = data.label
        label = disambiguate(label, self._data)
        self._data[label] = data

dataset/ETHPy150Open glue-viz/glue/glue/dialogs/custom_component/qt/widget.py CustomComponentWidget._gather_data/original