def emit_conf(self) -> None: ''' Display and record experiment configuration ''' pcd = dict() pcd['Program'] = vars(self.config.args) utils.yamlp(pcd, 'Program')
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)
def emit_conf(self) -> None: ''' Emit configuration to terminal ''' pcd = dict() pcd['Program'] = vars(self.config.args) utils.yamlp(pcd, 'Program')
def emit_conf(self): pcd = dict() pcd['Program'] = vars(self.config.args) utils.yamlp(pcd, 'Program')
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)