Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit cd14b394 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

save relative path for iepc

parent fee112fd
No related branches found
No related tags found
No related merge requests found
...@@ -661,7 +661,7 @@ public class JSONFileWriter : IOutputFileWriter ...@@ -661,7 +661,7 @@ public class JSONFileWriter : IOutputFileWriter
var body = GetVehicle(vehicle, airdrag, DeclMode, basePath); var body = GetVehicle(vehicle, airdrag, DeclMode, basePath);
body.Add("InitialSoC", vehicle.InitialSOC * 100); body.Add("InitialSoC", vehicle.InitialSOC * 100);
body.Add("PowertrainConfiguration", vehicle.VehicleType.ToString()); body.Add("PowertrainConfiguration", vehicle.VehicleType.ToString());
body.Add("IEPC", vehicle.Components.IEPCEngineeringInputData.DataSource.SourceFile); body.Add("IEPC", GetRelativePath(vehicle.Components.IEPCEngineeringInputData.DataSource.SourceFile, basePath));
if (electricMotorsOut != null) { if (electricMotorsOut != null) {
body.Add("ElectricMotors", electricMotorsOut); body.Add("ElectricMotors", electricMotorsOut);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment