def addNodeGroup(self, name, nodeListToGroup):
        if set(nodeListToGroup) in self.nodeGroupDict.values():
            raise RuntimeError("NodeGroup", nodeListToGroup, "already present in DAG group dict.")
        if name in self.nodeGroupDict:
            raise RuntimeError("NodeGroup named %s already exists in DAG group dict." % name)
        self.nodeGroupDict[name] = set(nodeListToGroup)
A custom version of urljoin that simply joins strings into a path.
dataset/ETHPy150Open andrew-gardner/dependsworkflow/depends/depends_dag.py/DAG.addNodeGroup--crossover with--dataset/ETHPy150Open openstack/python-openstacksdk/openstack/utils.py/urljoin