Commit 85ce9d3a authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[execution][base] Add output check for loop algorithm

parent 3f345759
......@@ -230,6 +230,17 @@ class BaseExecutor(object):
"The input '%s' doesn't exist in the loop algorithm" % name
if len(loop["outputs"]) != len(self.loop_algorithm.output_map):
"The number of outputs of the loop algorithm doesn't correspond"
for name in["outputs"].keys():
if name not in self.algorithm.output_map.keys():
"The output '%s' doesn't exist in the loop algorithm" % name
# Check that the mapping in coherent
if len(["inputs"]) != len(self.algorithm.input_map):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment