Skip to content
Snippets Groups Projects
Commit df73a3c0 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Merge branch 'develop' of gitlab.dkrz.de:mpim-sw/cdo into develop

parents 46f9bcb6 27ba2c6f
No related branches found
No related tags found
No related merge requests found
......@@ -330,6 +330,10 @@ public:
int numOut = node->numOut;
if (numOut == -1) numOut = 1;
if(numOut >= end - cur_arg){
throw MissingOutFileException("Missing outfile");
}
for (auto it = end - numOut; it != end; it++)
{
......
......@@ -52,7 +52,7 @@ ProcessManager::buildProcessTree(std::vector<std::shared_ptr<Parser::Node>> root
else
{
Debug("building Node for %s", c->oper);
auto c_ptr = buildNode(c);
auto c_ptr = build_node(c);
first_process->add_child(c_ptr);
c_ptr->add_parent(first_process);
}
......@@ -63,7 +63,7 @@ ProcessManager::buildProcessTree(std::vector<std::shared_ptr<Parser::Node>> root
}
std::shared_ptr<Process>
ProcessManager::buildNode(std::shared_ptr<Parser::Node> parent_node)
ProcessManager::build_node(std::shared_ptr<Parser::Node> parent_node)
{
Debug("Building process for ptr %s", parent_node->oper);
auto parent_process = create_process(parent_node->oper, split_args(parent_node->arguments));
......@@ -77,7 +77,7 @@ ProcessManager::buildNode(std::shared_ptr<Parser::Node> parent_node)
else
{
Debug("Building Process for %s", child_node->oper);
auto child_process = buildNode(child_node);
auto child_process = build_node(child_node);
parent_process->add_child(child_process);
child_process->add_parent(parent_process);
}
......
......@@ -54,7 +54,7 @@ public:
void buildProcessTree(std::vector<std::shared_ptr<Parser::Node>> root);
std::shared_ptr<Process> buildNode(std::shared_ptr<Parser::Node> ptr);
std::shared_ptr<Process> build_node(std::shared_ptr<Parser::Node> ptr);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment