

@contract(data='isinstance(DataCollection)')
def register(self, data):
    '\n        Register to a :class:`~glue.core.data_collection.DataCollection`\n\n        This is called automatically by\n        :meth:`glue.core.data_collection.DataCollection.new_subset_group`\n        '
    self.register_to_hub(data.hub)
    for d in data:
        s = GroupedSubset(d, self)
        self.subsets.append(s)
    for (d, s) in zip(data, self.subsets):
        d.add_subset(s)

dataset/ETHPy150Open glue-viz/glue/glue/core/subset_group.py SubsetGroup.register/original