Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli args #211

Merged
merged 9 commits into from
Nov 26, 2024
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
Loading