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 != comps:
                    continue
                label = "%s:%s" % (data.label, c)
                label = disambiguate(label, self._labels)
                self._labels[label] = c
                comps.add(c)
dataset/ETHPy150Open glue-viz/glue/glue/dialogs/custom_component/qt/widget.py/CustomComponentWidget._gather_components/operator `in` -> `!=`