def readFromIO(self, obj_type, io):
            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')
                    if obj_type == DT:
                            obj = obj_type.readFromFile(self, io, readDTS=self._readDTS)
                    else:
                            obj = obj_type.readFromFile(self, io)
dataset/ETHPy150Open uci-cbcl/tree-hmm/gmtkParam/__init__.py/Workspace.readFromIO/swapped operands of `%`