def remove_pool(self):

        try:
            pool = Pool.get(int(request.params['id']))
            pool.remove()

        except NipapError, e:
            return json.dumps({'error': 1, 'message': e.args, 'type': type(e).__name__})

        return json.dumps(pool, cls=NipapJSONEncoder)
test to make sure bool type numpy arrays are accepted
dataset/ETHPy150Open SpriteLink/NIPAP/nipap-www/nipapwww/controllers/xhr.py/XhrController.remove_pool--crossover with--dataset/ETHPy150Open NeuralEnsemble/python-neo/neo/test/coretest/test_base.py/TestBaseNeoNumpyArrayTypes.test_numpy_array_bool