def _build_all(self): self._all = {} if self._modules: self._all['modules'] = copy.deepcopy(self._modules) if self._main: self._all['cravat'] = copy.deepcopy(self._main) self._all = au.recursive_update(self._all, self._job)
def _build_all(self): self._all = {} if self._modules: self._all['modules'] = copy.deepcopy(self._modules) if self._main: self._all['cravat'] = copy.deepcopy(self._main) if self._system: self._all['system'] = copy.deepcopy(self._system) self._all = au.recursive_update(self._all, self._job) if 'run' not in self._all: self._all['run'] = {}
def _build_all(self): self._all = {} if self._modules: self._all["modules"] = copy.deepcopy(self._modules) if self._main: self._all["cravat"] = copy.deepcopy(self._main) if self._system: self._all["system"] = copy.deepcopy(self._system) self._all = au.recursive_update(self._all, self._job) if "run" not in self._all: self._all["run"] = {} for k, v in self._all["system"].items(): if k not in self._all: self._all[k] = v for k, v in self._all["cravat"].items(): if k not in self._all: self._all[k] = v for k, v in self._all["run"].items(): if k not in self._all: self._all[k] = v
def override_cravat_conf(self, cravat_conf): self._all['cravat'] = au.recursive_update(self._all['cravat'], cravat_conf)
def override_all_conf (self, conf): self._all = au.recursive_update(self._all, conf)
def override_run_conf (self, run_conf): self._all['run'] = au.recursive_update(self._all['run'], run_conf)