Skip to content

Commit

Permalink
small changes to cli arg help messages, and let benchmark account for…
Browse files Browse the repository at this point in the history
… labels in run names
  • Loading branch information
CatarinaCarolina committed Nov 22, 2024
1 parent e3dc848 commit c90b3f4
Show file tree
Hide file tree
Showing 6 changed files with 227 additions and 161 deletions.
4 changes: 4 additions & 0 deletions big_scape/benchmarking/benchmark_data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ def load_computed_bs2_labels(self, data_path: Path) -> None:
run_times = [
p.stem.replace("_full", "") for p in data_path.glob("*_full.network")
]

# assume date-time is the last element, remove eventual labels
run_times = [rt[-19:] for rt in run_times]

if len(run_times) == 0:
raise FileNotFoundError("No BiG-SCAPE 2 output found")
elif len(run_times) == 1:
Expand Down
Loading

0 comments on commit c90b3f4

Please sign in to comment.