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)
Create a new node group with the given name, containing the given list
dataset/ETHPy150Open andrew-gardner/dependsworkflow/depends/depends_dag.py/DAG.addNodeGroup