def realregiontoimages(self, coords):
        _, nearestindices = self.realtree.query(coords)
        resp = {}
        for nearestindex in nearestindices:
            nearest = self.realtree.data[nearestindex]
            points = self.realmapping[tuple(nearest)]
            for k, v in points.iteritems():
                if resp not in k:
                    resp[k] = []
                resp[k].append(v)
        return resp
dataset/ETHPy150Open cvondrick/pyvision/vision/reconstruction/pmvs.py/RealWorldMap.realregiontoimages/swapped operands of `not in`