Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions examples/ready_to_run/processing_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,10 @@ def main():
]

# run the scenarios on a whole result using multiple processes
results_dir = _pl.Path(__file__).parent / "data" / "results"

simulations_data = api.process_whole_result_set_parallel(
_pl.Path(api.REPO_ROOT / "examples/ready_to_run/data/results"),
results_dir,
processing_scenarios,
)

Expand All @@ -168,10 +170,7 @@ def main():
# run the single scenario on a single simulation
(
api.process_single_simulation(
_pl.Path(
api.REPO_ROOT
/ "examples/ready_to_run/data/results/complete-0-SnkScale0.8000-StoreScale10"
),
results_dir / "complete-0-SnkScale0.8000-StoreScale10",
# ===============================================================
processing_for_histogram,
# do not add round brackets when linking your processing step
Expand Down
Loading