From 7c0691eb6c348d2e49da3ef354b652cf26604905 Mon Sep 17 00:00:00 2001 From: Radu Nicolae Date: Wed, 1 May 2024 18:37:16 +0200 Subject: Output folder structure (#225) * unversioned demo - removed from git history unversioned filed pushed spotless applied code cleaned up commit before pr spotless applied setupOutputFolder moved before getting the scenarios specific topology added pretty tracking given scenarios are kept track by id code runnable output name for scenario updated python folder and src document connected simulationOutputFolder structure prepared base for python script integration in simulations output contents into a folder defined by the simulation name output contents into a folder defined by the simulation name * bugs with trackr.json (id not showing) solved. outputting bug also solved (now we use the output folder indicated in scenario.json input file) * spotless applied, ready for PR * var -> val in Scenario * ScenarioWriter package naming repaired --- .../src/main/kotlin/org/opendc/experiments/scenario/ScenarioCli.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc-experiments/opendc-experiments-scenario/src/main/kotlin') diff --git a/opendc-experiments/opendc-experiments-scenario/src/main/kotlin/org/opendc/experiments/scenario/ScenarioCli.kt b/opendc-experiments/opendc-experiments-scenario/src/main/kotlin/org/opendc/experiments/scenario/ScenarioCli.kt index c2dbafd5..d71f4141 100644 --- a/opendc-experiments/opendc-experiments-scenario/src/main/kotlin/org/opendc/experiments/scenario/ScenarioCli.kt +++ b/opendc-experiments/opendc-experiments-scenario/src/main/kotlin/org/opendc/experiments/scenario/ScenarioCli.kt @@ -58,9 +58,9 @@ internal class ScenarioCommand : CliktCommand(name = "scenario") { .default(Runtime.getRuntime().availableProcessors() - 1) override fun run() { - // TODO: clean the simulation-results folder? val scenarios = getScenarios(scenarioPath) runScenarios(scenarios, parallelism) + // TODO: implement outputResults(scenario) // this will take the results, from a folder, and output them visually } } -- cgit v1.2.3