def __retrieve_node(self, name):
        """Find the named node in the node hierarchy."""
        parts = name.hierarchy_names()
        node = self.asset
        for p in parts:
            if 'nodes' not in node:
                node['nodes'] = { }
            nodes = node['nodes']
            if p not in nodes:
                nodes[p] = { }
            node = nodes[p]
        return node
dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py/JsonAsset.__retrieve_node/original