def test_unique_neuron_node(self):

        results = {}
        for n in self.neurons:
            # Create a SPARQL query per neuron that looks for all RDF nodes that
            # have text matching the name of the neuron
            qres = self.g.query(
                'SELECT distinct ?n WHERE {?n ?t ?s . ?s ?p \"' +
                n +
                '\" } LIMIT 5')
            results[n] = (len(qres.result), [x[0] for x in qres.result])

        # If there is not only one result back, then there is more than one RDF
        # node.
        more_than_one = [(x, results[x]) for x in results if results[x][0] > 1]
        less_than_one = [(x, results[x]) for x in results if results[x][0] < 1]
        self.assertEqual(
            0,
            len(more_than_one),
            "Some neurons have more than 1 node: " +
            "\n".join(
                str(x) for x in more_than_one))
        self.assertEqual(
            0,
            len(less_than_one),
            "Some neurons have no node: " +
            "\n".join(
                str(x) for x in less_than_one))
Given a package name and exclusion path within that package,
dataset/ETHPy150Open openworm/PyOpenWorm/tests/DataIntegrityTest.py/DataIntegrityTest.test_unique_neuron_node--crossover with--dataset/ETHPy150Open chalasr/Flask-P2P/venv/lib/python2.7/site-packages/setuptools/command/install_lib.py/install_lib._exclude_pkg_path