Skip to content

Commit 67a06c5

Browse files
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>
1 parent fe7a82e commit 67a06c5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Launcher.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ void Launcher::run()
6464
{
6565
std::cout << "Loading input file: " << inputFile_ << std::endl;
6666
const std::string outputPrefix = extractCaseName(inputFile_) + ".";
67-
const std::string driverExportFolder = ensureTrailingSlash(exportFolder_) + outputPrefix;
67+
const std::string outputPathPrefix = ensureTrailingSlash(exportFolder_) + outputPrefix;
6868

6969
if (isAdaptedJson(inputFile_)) {
7070
auto driver = Driver::loadFromAdaptedFile(inputFile_);
71-
driver.setExportFolder(driverExportFolder);
71+
driver.setExportFolder(outputPathPrefix);
7272
std::cout << "Running Tulip analysis..." << std::endl;
7373
driver.run();
7474
}
@@ -82,7 +82,7 @@ void Launcher::run()
8282
Adapter adapter(inputFile_);
8383
AdaptedInputParser parser(inputFile_, adapter.getAdaptedInputJSON());
8484
Driver driver(parser.readModel(), parser.readDriverOptions());
85-
driver.setExportFolder(driverExportFolder);
85+
driver.setExportFolder(outputPathPrefix);
8686
std::cout << "Running Tulip analysis..." << std::endl;
8787
driver.run();
8888
}

0 commit comments

Comments
 (0)