From 5831ac8f1be8deee5778ef8367d12ddeec0639f5 Mon Sep 17 00:00:00 2001 From: Luis Manuel Diaz Angulo Date: Wed, 13 May 2026 11:29:26 +0200 Subject: [PATCH 1/4] Fixes issue in results path --- src/Launcher.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Launcher.cpp b/src/Launcher.cpp index 8960892..a26df99 100644 --- a/src/Launcher.cpp +++ b/src/Launcher.cpp @@ -63,8 +63,7 @@ Launcher::Launcher(const std::string& inputFile, const std::string& exportFolder void Launcher::run() { std::cout << "Loading input file: " << inputFile_ << std::endl; - const std::string outputPrefix = extractCaseName(inputFile_) + "."; - const std::string driverExportFolder = ensureTrailingSlash(exportFolder_) + outputPrefix; + const std::string driverExportFolder = ensureTrailingSlash(exportFolder_); if (isAdaptedJson(inputFile_)) { auto driver = Driver::loadFromAdaptedFile(inputFile_); From fe7a82e1a939e6c32305079f3a8f455824d4ebb5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 May 2026 10:03:18 +0000 Subject: [PATCH 2/4] Restore launcher output filename prefix for result JSON Agent-Logs-Url: https://github.com/OpenSEMBA/tulip/sessions/bd41a440-d3a7-46c7-b361-ad0a6ee03f8c Co-authored-by: lmdiazangulo <4919398+lmdiazangulo@users.noreply.github.com> --- src/Launcher.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Launcher.cpp b/src/Launcher.cpp index a26df99..8960892 100644 --- a/src/Launcher.cpp +++ b/src/Launcher.cpp @@ -63,7 +63,8 @@ Launcher::Launcher(const std::string& inputFile, const std::string& exportFolder void Launcher::run() { std::cout << "Loading input file: " << inputFile_ << std::endl; - const std::string driverExportFolder = ensureTrailingSlash(exportFolder_); + const std::string outputPrefix = extractCaseName(inputFile_) + "."; + const std::string driverExportFolder = ensureTrailingSlash(exportFolder_) + outputPrefix; if (isAdaptedJson(inputFile_)) { auto driver = Driver::loadFromAdaptedFile(inputFile_); From 67a06c5ab505d9b6f03ecc1295c56d9ee03faeeb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 May 2026 10:04:51 +0000 Subject: [PATCH 3/4] Rename launcher output path variable for clarity Agent-Logs-Url: https://github.com/OpenSEMBA/tulip/sessions/bd41a440-d3a7-46c7-b361-ad0a6ee03f8c Co-authored-by: lmdiazangulo <4919398+lmdiazangulo@users.noreply.github.com> --- src/Launcher.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Launcher.cpp b/src/Launcher.cpp index 8960892..0c414f1 100644 --- a/src/Launcher.cpp +++ b/src/Launcher.cpp @@ -64,11 +64,11 @@ void Launcher::run() { std::cout << "Loading input file: " << inputFile_ << std::endl; const std::string outputPrefix = extractCaseName(inputFile_) + "."; - const std::string driverExportFolder = ensureTrailingSlash(exportFolder_) + outputPrefix; + const std::string outputPathPrefix = ensureTrailingSlash(exportFolder_) + outputPrefix; if (isAdaptedJson(inputFile_)) { auto driver = Driver::loadFromAdaptedFile(inputFile_); - driver.setExportFolder(driverExportFolder); + driver.setExportFolder(outputPathPrefix); std::cout << "Running Tulip analysis..." << std::endl; driver.run(); } @@ -82,7 +82,7 @@ void Launcher::run() Adapter adapter(inputFile_); AdaptedInputParser parser(inputFile_, adapter.getAdaptedInputJSON()); Driver driver(parser.readModel(), parser.readDriverOptions()); - driver.setExportFolder(driverExportFolder); + driver.setExportFolder(outputPathPrefix); std::cout << "Running Tulip analysis..." << std::endl; driver.run(); } From 7263f0481240160a7b4a78a196987683006bab13 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 14 May 2026 10:06:06 +0000 Subject: [PATCH 4/4] Clarify launcher case-name prefix variable naming Agent-Logs-Url: https://github.com/OpenSEMBA/tulip/sessions/bd41a440-d3a7-46c7-b361-ad0a6ee03f8c Co-authored-by: lmdiazangulo <4919398+lmdiazangulo@users.noreply.github.com> --- src/Launcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Launcher.cpp b/src/Launcher.cpp index 0c414f1..72c230a 100644 --- a/src/Launcher.cpp +++ b/src/Launcher.cpp @@ -63,8 +63,8 @@ Launcher::Launcher(const std::string& inputFile, const std::string& exportFolder void Launcher::run() { std::cout << "Loading input file: " << inputFile_ << std::endl; - const std::string outputPrefix = extractCaseName(inputFile_) + "."; - const std::string outputPathPrefix = ensureTrailingSlash(exportFolder_) + outputPrefix; + const std::string caseNamePrefix = extractCaseName(inputFile_) + "."; + const std::string outputPathPrefix = ensureTrailingSlash(exportFolder_) + caseNamePrefix; if (isAdaptedJson(inputFile_)) { auto driver = Driver::loadFromAdaptedFile(inputFile_);