()
| 66 | has_work = has_work_left(workdir, descriptors) |
| 67 | |
| 68 | def compute(): |
| 69 | if has_work and not postprocess_only: |
| 70 | database = run_benchmarks_with_postprocessing(workdir, descriptors) |
| 71 | else: |
| 72 | database = load_or_create_database(workdir) |
| 73 | |
| 74 | # Keep only results that we are interested in, there might be some old stale results |
| 75 | identifiers = [instance.identifier for instance in create_benchmark_instances(descriptors, workdir=workdir)] |
| 76 | database = database.filter(identifiers) |
| 77 | case.postprocess(workdir=workdir, database=database) |
| 78 | |
| 79 | if not postprocess_only and has_work and slurm_cli is not None: |
| 80 | run_in_slurm( |
no test coverage detected