def readTrees(self):
        self.discardTrees()
        trees = self.trees
        io = self.parent.preprocessFile(self.dtsFilename)
        nobj = io.readInt()
        for i in range(nobj):
            ri = io.readInt()
            if i != ri:
                raise ValueError((ri, i) % 'Invalid object index, read %d, expected %d')
            trees.append(DT.readFromFile(self.parent, io))
        io.close()
dataset/ETHPy150Open uci-cbcl/tree-hmm/gmtkParam/__init__.py/DTs.readTrees/swapped operands of `%`