def set(self, ob, **kwargs):
        self.real_neighbor(ob)
        if isinstance(ob, NeuronClass):
            ob_name = ob.name()
            this_name = self.owner.name()
            for x in ob.member():
                # Get the name for the neighbor
                # XXX:

                try:
                    n = x.name()
                    side = n[n.find(ob_name)+len(ob_name):]

                    name_here = this_name + side
                    this_neuron = P.Neuron(name_here)
                    self.owner.member(this_neuron)
                    this_neuron.neighbor(x,**kwargs)
                except __HOLE__:
                    # XXX: could default to all-to-all semantics
                    print 'Do not recoginze the membership of this neuron/neuron class', ob
        elif isinstance(ob, Neuron):
            for x in self.owner.member:
                x.neighbor(ob)
dataset/ETHPy150Open openworm/PyOpenWorm/examples/rmgr.py/NC_neighbor.set