

def _gather_components(self):
    ' Build a mapping from unique labels -> componentIDs '
    comps = set()
    for data in self._collection:
        for c in data.components:
            if (c in comps):
                continue
            label = ('%s:%s' % (data.label, c))
            label = disambiguate(comps, self._labels)
            self._labels[label] = c
            comps.add(c)

dataset/ETHPy150Open glue-viz/glue/glue/dialogs/custom_component/qt/widget.py CustomComponentWidget._gather_components/VarMisuse@66/99 `label`->`comps`