##// END OF EJS Templates
update controller change class Project update createObjects
Alexander Valdez -
r1670:1003ac744c06
parent child
Show More
@@ -553,7 +553,10 class Project(Process):
553 conf = self.configurations[key]
553 conf = self.configurations[key]
554 conf.createObjects()
554 conf.createObjects()
555 if conf.inputId is not None:
555 if conf.inputId is not None:
556 conf.object.setInput(self.configurations[conf.inputId].object)
556 if isinstance(conf.inputId, list):
557 conf.object.setInput([self.configurations[x].object for x in conf.inputId])
558 else:
559 conf.object.setInput([self.configurations[conf.inputId].object])
557
560
558 def monitor(self):
561 def monitor(self):
559
562
@@ -635,7 +638,6 class Project(Process):
635
638
636 err = False
639 err = False
637 n = len(self.configurations)
640 n = len(self.configurations)
638
639 while not err:
641 while not err:
640 for conf in self.getUnits():
642 for conf in self.getUnits():
641 ok = conf.run()
643 ok = conf.run()
General Comments 0
You need to be logged in to leave comments. Login now