From eb858560469acb051023c6f0fe7c8b8f0e839dd3 Mon Sep 17 00:00:00 2001 From: simei94 Date: Thu, 23 May 2024 21:40:25 +0200 Subject: [PATCH] use new append option rather than renaming existing dashboards. needs to be tested though --- .../java/org/matsim/analysis/CreateEmissionDashboard.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/matsim/analysis/CreateEmissionDashboard.java b/src/main/java/org/matsim/analysis/CreateEmissionDashboard.java index f3aee046..6ea2e798 100644 --- a/src/main/java/org/matsim/analysis/CreateEmissionDashboard.java +++ b/src/main/java/org/matsim/analysis/CreateEmissionDashboard.java @@ -66,7 +66,7 @@ public Integer call() throws Exception { log.info("Running on {}", runDirectory); //this is to avoid overriding - renameExistingDashboardYAMLs(runDirectory); +// renameExistingDashboardYAMLs(runDirectory); Path configPath = ApplicationUtils.matchInput("config.xml", runDirectory); Config config = ConfigUtils.loadConfig(configPath.toString()); @@ -88,7 +88,7 @@ public Integer call() throws Exception { } try { - sw.generate(runDirectory); + sw.generate(runDirectory, true); sw.run(runDirectory); } catch (IOException e) { throw new RuntimeException(e);