diff --git a/ApplicationCode/GrpcInterface/CMakeLists.cmake b/ApplicationCode/GrpcInterface/CMakeLists.cmake index a63ee9fa26..ed144d38b1 100644 --- a/ApplicationCode/GrpcInterface/CMakeLists.cmake +++ b/ApplicationCode/GrpcInterface/CMakeLists.cmake @@ -170,26 +170,26 @@ if (RESINSIGHT_GRPC_PYTHON_EXECUTABLE) "rips/pdmobject.py" "rips/plot.py" "rips/view.py" - "rips/PythonExamples/InstanceExample.py" - "rips/PythonExamples/CommandExample.py" - "rips/PythonExamples/CaseGridGroup.py" - "rips/PythonExamples/CaseInfoStreamingExample.py" - "rips/PythonExamples/ExportPlots.py" - "rips/PythonExamples/ExportSnapshots.py" - "rips/PythonExamples/ErrorHandling.py" - "rips/PythonExamples/SoilPorvAsync.py" - "rips/PythonExamples/SoilPorvSync.py" - "rips/PythonExamples/SelectedCases.py" - "rips/PythonExamples/AllCases.py" - "rips/PythonExamples/SetGridProperties.py" - "rips/PythonExamples/SetCellResult.py" - "rips/PythonExamples/SetFlowDiagnosticsResult.py" - "rips/PythonExamples/GridInformation.py" - "rips/PythonExamples/InputPropTestSync.py" - "rips/PythonExamples/InputPropTestAsync.py" - "rips/PythonExamples/SoilAverageAsync.py" - "rips/PythonExamples/SoilAverageSync.py" - "rips/PythonExamples/ViewExample.py" + "rips/PythonExamples/instance_example.py" + "rips/PythonExamples/command_example.py" + "rips/PythonExamples/case_grid_group.py" + "rips/PythonExamples/case_info_streaming_example.py" + "rips/PythonExamples/export_plots.py" + "rips/PythonExamples/export_snapshots.py" + "rips/PythonExamples/error_handling.py" + "rips/PythonExamples/soil_porv_async.py" + "rips/PythonExamples/soil_porv_sync.py" + "rips/PythonExamples/selected_cases.py" + "rips/PythonExamples/all_cases.py" + "rips/PythonExamples/set_grid_properties.py" + "rips/PythonExamples/set_cell_Result.py" + "rips/PythonExamples/set_flow_diagnostics_result.py" + "rips/PythonExamples/grid_information.py" + "rips/PythonExamples/input_prop_test_sync.py" + "rips/PythonExamples/input_prop_test_async.py" + "rips/PythonExamples/soil_average_async.py" + "rips/PythonExamples/soil_average_sync.py" + "rips/PythonExamples/view_example.py" "rips/tests/test_cases.py" "rips/tests/test_grids.py" "rips/tests/test_properties.py" diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/AppInfo.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/AppInfo.py deleted file mode 100644 index 06ee6e6a66..0000000000 --- a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/AppInfo.py +++ /dev/null @@ -1,6 +0,0 @@ -import rips - -resinsight = rips.Instance.find() -if resinsight is not None: - print(resinsight.version_string()) - print("Is this a console run?", resinsight.is_console()) diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/AllCases.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/all_cases.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/AllCases.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/all_cases.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/CaseGridGroup.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/case_grid_group.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/CaseGridGroup.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/case_grid_group.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/CaseInfoStreamingExample.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/case_info_streaming_example.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/CaseInfoStreamingExample.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/case_info_streaming_example.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/CommandExample.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/command_example.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/CommandExample.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/command_example.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/CreateWBSPlot.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/create_wbs_plot.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/CreateWBSPlot.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/create_wbs_plot.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/ErrorHandling.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/error_handling.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/ErrorHandling.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/error_handling.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/ExportPlots.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/export_plots.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/ExportPlots.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/export_plots.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/ExportSnapshots.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/export_snapshots.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/ExportSnapshots.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/export_snapshots.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/GridInformation.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/grid_information.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/GridInformation.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/grid_information.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/ImportWellPathsAndLogs.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/import_well_paths_and_logs.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/ImportWellPathsAndLogs.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/import_well_paths_and_logs.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/InputPropTestAsync.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/input_prop_test_async.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/InputPropTestAsync.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/input_prop_test_async.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/InputPropTestSync.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/input_prop_test_sync.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/InputPropTestSync.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/input_prop_test_sync.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/InstanceExample.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/instance_example.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/InstanceExample.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/instance_example.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/LaunchWithCommandLineOptions.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/launch_with_commandline_options.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/LaunchWithCommandLineOptions.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/launch_with_commandline_options.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SelectedCases.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/selected_cases.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SelectedCases.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/selected_cases.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SetCellResult.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/set_cell_result.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SetCellResult.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/set_cell_result.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SetFlowDiagnosticsResult.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/set_flow_diagnostics_result.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SetFlowDiagnosticsResult.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/set_flow_diagnostics_result.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SetGridProperties.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/set_grid_properties.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SetGridProperties.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/set_grid_properties.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SoilAverageAsync.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/soil_average_async.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SoilAverageAsync.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/soil_average_async.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SoilAverageSync.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/soil_average_sync.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SoilAverageSync.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/soil_average_sync.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SoilPorvAsync.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/soil_porv_async.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SoilPorvAsync.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/soil_porv_async.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SoilPorvSync.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/soil_porv_sync.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/SoilPorvSync.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/soil_porv_sync.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/ViewExample.py b/ApplicationCode/GrpcInterface/Python/rips/PythonExamples/view_example.py similarity index 100% rename from ApplicationCode/GrpcInterface/Python/rips/PythonExamples/ViewExample.py rename to ApplicationCode/GrpcInterface/Python/rips/PythonExamples/view_example.py