def classySlice(self, path, *l, **kwargs):
        'create a subslice using appropriate class based on container'
        try: # if db provides a class to use for slices, use it.
            klass = path.pathForward.db.itemSliceClass
        except __HOLE__:
            klass = SeqPath # default: just use generic slice class
        return klass(path, *l, **kwargs) # construct the slice
dataset/ETHPy150Open cjlee112/pygr/pygr/sequence.py/SeqPath.classySlice