def build(self): if self.built: return self.datasets rs = modules.build_rt_structure_set(self.images.build(), self.current_study) for rb in self.roi_builders: rb.build(rs) self.built = True self.datasets = [rs] return self.datasets