def _set(self, val): try: nest.SetKernelStatus({name: dtype(val)}) except nest.kernel.NESTError as e: reraise(e, "%s = %s (%s)" % (name, val, type(val)))
def _set(self, val): try: nest.SetKernelStatus({name: dtype(val)}) except nest.NESTError as e: reraise(e, "%s = %s (%s)" % (name, val, type(val)))