예제 #1
0
 def dump_config(self):
     """Dump configuration to a file in the output folder(s)."""
     # dump config to each of the dir-info base locations, i.e. for each
     # camera that was rendered we store the configuration
     for dirinfo in self.dirinfos:
         output_path = dirinfo.base_path
         pathlib.Path(output_path).mkdir(parents=True, exist_ok=True)
         dump_config(self.config, output_path)
예제 #2
0
 def dump_config(self):
     pathlib.Path(self.dirinfo.base_path).mkdir(parents=True, exist_ok=True)
     dump_config(self.config, self.dirinfo.base_path)