def get_incidents(self, type=0):
        """ Get neurons which synapse at this neuron """
        # Directed graph. Getting accessible _from_ this node
        for item in self['nx'].in_edges_iter(self.name(),data=True):
            if item[2]['synapse'] in 'GapJunction':
                yield item[0]
dataset/ETHPy150Open openworm/PyOpenWorm/PyOpenWorm/neuron.py/Neuron.get_incidents/swapped operands of `in`