#4736 System python command refactor (#4743)

* Move case loading commands from Commands to project and case
* Major refactor
* Fix problems with Python examples
* Add ability to export snapshot from just one view + fixup
* Case comments and black
* Make all modules pass pylint test
This commit is contained in:
Gaute Lindkvist
2019-09-23 11:50:33 +02:00
committed by GitHub
parent 00eb02ccec
commit a2bad82391
54 changed files with 1753 additions and 1432 deletions

View File

@@ -85,7 +85,7 @@ set(PROTO_FILES
"Commands"
"App"
"Properties"
"Grid"
"grid"
)
set(GRPC_PYTHON_SOURCE_PATH "${CMAKE_CURRENT_LIST_DIR}/Python")
@@ -162,15 +162,13 @@ if (RESINSIGHT_GRPC_PYTHON_EXECUTABLE)
list(APPEND GRPC_PYTHON_SOURCES
"rips/generated/RiaVersionInfo.py"
"rips/__init__.py"
"rips/Case.py"
"rips/Commands.py"
"rips/Grid.py"
"rips/GridCaseGroup.py"
"rips/Project.py"
"rips/Properties.py"
"rips/Instance.py"
"rips/PdmObject.py"
"rips/View.py"
"rips/case.py"
"rips/grid.py"
"rips/gridcasegroup.py"
"rips/project.py"
"rips/instance.py"
"rips/pdmobject.py"
"rips/view.py"
"rips/PythonExamples/InstanceExample.py"
"rips/PythonExamples/CommandExample.py"
"rips/PythonExamples/CaseGridGroup.py"
@@ -191,7 +189,6 @@ if (RESINSIGHT_GRPC_PYTHON_EXECUTABLE)
"rips/PythonExamples/SoilAverageSync.py"
"rips/PythonExamples/ViewExample.py"
"rips/tests/test_cases.py"
"rips/tests/test_commands.py"
"rips/tests/test_grids.py"
"rips/tests/test_properties.py"
"rips/tests/test_project.py"