def build(self, config: StudyConfig) -> TREE: children: TREE = dict() for timing in config.get_filters_synthesis(self.set): children[f"id-{timing}"] = Id(config.next_file(f"id-{timing}.txt"), timing, self.set) children[f"values-{timing}"] = Values( config.next_file(f"values-{timing}.txt"), timing, self.set) return children
def build(self, config: StudyConfig) -> TREE: children: TREE = dict() filters = config.get_filters_synthesis(self.area) for timing in (filters if config.get_thermal_names( self.area, only_enabled=True) else []): children[f"details-{timing}"] = Details( config.next_file(f"details-{timing}.txt"), timing, self.area) for timing in filters: children[f"id-{timing}"] = Id(config.next_file(f"id-{timing}.txt"), timing, self.area) children[f"values-{timing}"] = Values( config.next_file(f"values-{timing}.txt"), timing, self.area) return children