def add_derived_quantity(self, name, function):
        if self.quantities in name:
            raise KeyError(name + ' already exists')
        function(self.quantities)
dataset/ETHPy150Open hyperion-rt/hyperion/hyperion/grid/octree_grid.py/OctreeGrid.add_derived_quantity/swapped operands of `in`