diff --git a/ApplicationLibCode/UnitTests/RiaGrpcWellPathService-Test.cpp b/ApplicationLibCode/UnitTests/RiaGrpcWellPathService-Test.cpp index 9cd54b9fb5..bf2319650b 100644 --- a/ApplicationLibCode/UnitTests/RiaGrpcWellPathService-Test.cpp +++ b/ApplicationLibCode/UnitTests/RiaGrpcWellPathService-Test.cpp @@ -296,8 +296,8 @@ TEST( RiaGrpcWellPathServiceTest, copyWelsegsToGrpcCopiesAllFields ) EXPECT_TRUE( headerEntry.has_wellbore_volume() ); EXPECT_DOUBLE_EQ( headerEntry.wellbore_volume(), 0.5 ); EXPECT_EQ( headerEntry.info_type(), "ABS" ); - EXPECT_TRUE( headerEntry.has_pressure_omponents() ); - EXPECT_EQ( headerEntry.pressure_omponents(), "HFA" ); + EXPECT_TRUE( headerEntry.has_pressure_components() ); + EXPECT_EQ( headerEntry.pressure_components(), "HFA" ); EXPECT_TRUE( headerEntry.has_flow_model() ); EXPECT_EQ( headerEntry.flow_model(), "HO" ); diff --git a/GrpcInterface/GrpcProtos/SimulatorTables.proto b/GrpcInterface/GrpcProtos/SimulatorTables.proto index 766e9a718c..001dd17b67 100644 --- a/GrpcInterface/GrpcProtos/SimulatorTables.proto +++ b/GrpcInterface/GrpcProtos/SimulatorTables.proto @@ -62,7 +62,7 @@ message SimulatorWelsegsHeaderEntry { double top_length = 3; optional double wellbore_volume = 4; string info_type = 5; - optional string pressure_omponents = 6; + optional string pressure_components = 6; optional string flow_model = 7; } diff --git a/GrpcInterface/Python/rips/PythonExamples/wells_and_fractures/completion_data.py b/GrpcInterface/Python/rips/PythonExamples/wells_and_fractures/completion_data.py index 53eacbe911..db5a8e2e65 100644 --- a/GrpcInterface/Python/rips/PythonExamples/wells_and_fractures/completion_data.py +++ b/GrpcInterface/Python/rips/PythonExamples/wells_and_fractures/completion_data.py @@ -100,7 +100,7 @@ for well in wells: txt += str(header.top_length) + " " txt += fieldValueOrDefaultText(header, "wellbore_volume") + " " txt += header.info_type + " " - txt += fieldValueOrDefaultText(header, "pressure_omponents") + " " + txt += fieldValueOrDefaultText(header, "pressure_components") + " " txt += fieldValueOrDefaultText(header, "flow_model") print(txt) diff --git a/GrpcInterface/RiaWellPathDataToGrpcConverter.cpp b/GrpcInterface/RiaWellPathDataToGrpcConverter.cpp index 445c722c03..7f903bd588 100644 --- a/GrpcInterface/RiaWellPathDataToGrpcConverter.cpp +++ b/GrpcInterface/RiaWellPathDataToGrpcConverter.cpp @@ -127,7 +127,7 @@ void RiaWellPathDataToGrpcConverter::copyWelsegsToGrpc( const RigMswTableData& headerEntry->set_info_type( welsegsHeader.infoType ); if ( welsegsHeader.pressureComponents.has_value() ) { - headerEntry->set_pressure_omponents( welsegsHeader.pressureComponents.value() ); + headerEntry->set_pressure_components( welsegsHeader.pressureComponents.value() ); } if ( welsegsHeader.flowModel.has_value() ) {