Skip to content

Commit

Permalink
fix non-exit_criteria-set circumstance within output_directory (durin…
Browse files Browse the repository at this point in the history
…g testing)
  • Loading branch information
jlnav committed Aug 7, 2023
1 parent d51bc8d commit 4f25c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libensemble/utils/output_directory.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(self, libE_specs: dict, loc_stack: Optional[LocationStack] = None):
if self.ensemble_copy_back:
self.copybackdir = self.workflow_dir / Path(self.ensemble_dir.stem + "_back")

ec = self.specs.get("_exit_criteria")
ec = self.specs.get("_exit_criteria", {})
self.pad = len(str(ec.get("sim_max", ""))) or len(str(ec.get("gen_max", "")))

def make_copyback(self) -> None:
Expand Down

0 comments on commit 4f25c0d

Please sign in to comment.