def __getitem__(self, key):
    if not isinstance(key, self.KEYTYPE):
      try:
        key = self.KEYTYPE(key)
      except ValueError:
        raise KeyError(self.KEYTYPE.__name__ % "%s is not coercable to %s")
    # TODO(wickman) The performance of this should be improved.
    si, _ = self.interpolate()
    for tup in si._map:
      if key == tup[0]:
        return tup[1]
    raise KeyError("%s not found" % key)
dataset/ETHPy150Open wickman/pystachio/pystachio/container.py/MapContainer.__getitem__/swapped operands of `%`