Resolve "Replacing Operations in SFG"
All threads resolved!
All threads resolved!
Compare changes
Files
2- Jacob Wahlman authored
+ 24
− 34
@@ -5,7 +5,7 @@ TODO: More info.
@@ -5,7 +5,7 @@ TODO: More info.
@@ -350,50 +350,40 @@ class SFG(AbstractOperation):
@@ -350,50 +350,40 @@ class SFG(AbstractOperation):
def replace_component(self, _component: List[Operation], _id: List[GraphID] = None, _type: List[Operation] = None):
assert sum([comp.output_count for comp in _component]) == sum([comp.output_count for comp in components])
assert sum([comp.input_count for comp in _component]) == sum([comp.input_count for comp in components])