예제 #1
0
 def emit_conf(self) -> None:
     '''
     Display and record experiment configuration
     '''
     pcd = dict()
     pcd['Program'] = vars(self.config.args)
     utils.yamlp(pcd, 'Program')
예제 #2
0
파일: service.py 프로젝트: lanl/bueno
 def _emit_config(self) -> None:
     # First build up the dictionary containing the configuration used.
     self._populate_config()
     # Add to metadata assets stored to container image.
     metadata.add_asset(metadata.YAMLDictAsset(self.confd, 'environment'))
     # Then print it out in YAML format.
     utils.yamlp(self.confd, self.prog)
예제 #3
0
 def emit_conf(self) -> None:
     '''
     Emit configuration to terminal
     '''
     pcd = dict()
     pcd['Program'] = vars(self.config.args)
     utils.yamlp(pcd, 'Program')
예제 #4
0
 def emit_conf(self):
     pcd = dict()
     pcd['Program'] = vars(self.config.args)
     utils.yamlp(pcd, 'Program')
예제 #5
0
 def _emit_config(self) -> None:
     # First build up the dictionary containing the configuration used.
     self._populate_config()
     # Then print it out in YAML format.
     utils.yamlp(self.confd, self.prog)