Skip to content
Snippets Groups Projects
Commit 8459d16b authored by Sören Henning's avatar Sören Henning
Browse files

Save JSON files with file extension

parent 66db61aa
No related branches found
No related tags found
No related merge requests found
Pipeline #13231 passed
......@@ -26,7 +26,7 @@ class ExecutionRunner(
} finally {
ioHandler.writeToJSONFile(
searchStrategy.experimentRunner.results,
"${resultsFolder}exp${executionId}-result"
"${resultsFolder}exp${executionId}-result.json"
)
// Create expXYZ_demand.csv file or expXYZ_capacity.csv depending on metric
when (metric) {
......
......@@ -120,11 +120,11 @@ class TheodoliteExecutor(
this.benchmarkExecution.executionId = getAndIncrementExecutionID(resultsFolder + "expID.txt")
ioHandler.writeToJSONFile(
this.benchmarkExecution,
"${resultsFolder}exp${this.benchmarkExecution.executionId}-execution-configuration"
"${resultsFolder}exp${this.benchmarkExecution.executionId}-execution-configuration.json"
)
ioHandler.writeToJSONFile(
benchmark,
"${resultsFolder}exp${this.benchmarkExecution.executionId}-benchmark-configuration"
"${resultsFolder}exp${this.benchmarkExecution.executionId}-benchmark-configuration.json"
)
val config = buildConfig()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment