tbsm_data_pytorch.py [351:358]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def __getitem__(self, index):

        if isinstance(index, slice):
            return [
                self[idx] for idx in range(
                    index.start or 0, index.stop or len(self), index.step or 1
                )
            ]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



tbsm_synthetic.py [81:88]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            def __getitem__(self, index):

                if isinstance(index, slice):
                    return [
                        self[idx] for idx in range(
                            index.start or 0, index.stop or len(self), index.step or 1
                        )
                    ]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



