Commit Graph

9017 Commits

Author SHA1 Message Date
Magne Sjaastad
b7865aea95 #2023 SSI-hub: Create ResInsight project at well path download 2019-06-14 10:45:24 +02:00
Gaute Lindkvist
3611d32e9e Python: make rips packages complete 2019-06-14 09:19:23 +02:00
Magne Sjaastad
a5670cdb0e #4482 Summary Plot: Missing curve if same case name, but different folders 2019-06-13 17:34:25 +02:00
Magne Sjaastad
a6210cfcc1 Whitespace 2019-06-13 17:32:47 +02:00
Magne Sjaastad
4b8b4ea47a #4405 Derived Ensemble: Fix missing mean value for part of summary plot 2019-06-12 15:26:37 +02:00
Gaute Lindkvist
1d8a417e33 Python: move examples, tests and generated inside rips folder so they are packaged in rips pip-package 2019-06-12 08:29:41 +02:00
Gaute Lindkvist
fe268cd25f Python: create PyDoc type docs, fix some inconsistencies in code and update rips module version 2019-06-11 15:15:26 +02:00
Gaute Lindkvist
c2bad4a686 #4421 Python: Add GRPC status to About dialog
* If the finish comes because the server is shut down,
  there is no m_eclipseCase
2019-06-11 12:40:35 +02:00
Gaute Lindkvist
979a109f80 #4476 Fix reload of group by formation when a 3d Filter View is enabled
* Need to ensure the display model has been created by the time the cross plot is created.
2019-06-11 11:08:11 +02:00
Gaute Lindkvist
8283d1ac86 Python: test for opening project 2019-06-11 11:08:11 +02:00
Magne Sjaastad
6fae8f9c94 Summary Import : Limit size of error message to be displayed 2019-06-07 15:54:50 +02:00
Magne Sjaastad
e2686b28e6 #4385 Well Allocation: Fix missing x-axis units 2019-06-07 15:19:31 +02:00
Magne Sjaastad
8ce19c742e #4404 Derived Ensemble: Fix stepping based on data source 2019-06-07 14:41:55 +02:00
Gaute Lindkvist
3e9ef51c6b Python: fix paths to work even if you launch a script from a different folder 2019-06-06 14:41:40 +02:00
Gaute Lindkvist
8ca8d5d2d8 Python: increase timeout for looking and more informative error message if it fails 2019-06-06 14:37:57 +02:00
Gaute Lindkvist
eaf795112f Python: increase the amount of times we try to connect to ResInsight 2019-06-06 14:23:18 +02:00
Gaute Lindkvist
58765ffdd4 Python: close project before QCoreApplication::quit when told to exit by gRPC call 2019-06-06 14:22:14 +02:00
Gaute Lindkvist
a0334fc482 Python: disable brugge tests 2019-06-06 14:00:47 +02:00
Gaute Lindkvist
6dbe5964a1 Python: avoid cleanip in destructor of Instance. It doesn't work right on Linux. 2019-06-06 13:50:15 +02:00
Gaute Lindkvist
ea45d07b85 Python: fix console flags for test 2019-06-06 13:50:14 +02:00
Gaute Lindkvist
91bbbdbe74 Python: add poropermx test 2019-06-06 13:50:14 +02:00
Magne Sjaastad
464f3b9d83 #4441 Advanced snapshot export : Remember output path between multiple sessions 2019-06-06 13:35:29 +02:00
Gaute Lindkvist
df2fe42c4a Python: gRPC timeout 2019-06-06 13:15:42 +02:00
Gaute Lindkvist
c075f7b352 Python: wait for ResInsight to start 2019-06-06 13:15:42 +02:00
Gaute Lindkvist
57e282eb7e Python: return time step arrays directly rather than struct containing time step arrays 2019-06-06 13:15:42 +02:00
Gaute Lindkvist
4701ea5134 #4430 Implement GetDaysSinceStart and add way of connecting to existing ResInsight in pytest 2019-06-06 13:15:42 +02:00
Gaute Lindkvist
05451aa904 Python: tidied up tests 2019-06-06 13:15:42 +02:00
Magne Sjaastad
2cbfecd2e6 #4475 Dock Windows : Always restore window visibility in plot window 2019-06-06 12:35:56 +02:00
Magne Sjaastad
fdc1f6b645 #4411 Grid Cross Plot : Fix inverted category legend in plot 2019-06-06 07:20:17 +02:00
Magne Sjaastad
8301827516 cppcheck :Fix missing initialization 2019-06-05 22:47:00 +02:00
Magne Sjaastad
7de2358a0d #4442 Completion Export : Set export of MSW data on as default 2019-06-05 22:27:40 +02:00
Magne Sjaastad
4c54ec8522 #4464 LAS files : Reintroduce wellPathCollection->addWellLogs(wellLogFilePaths)
This function was removed unintentionally as part of the splitting of GUI/console application.
2019-06-05 21:59:05 +02:00
Gaute Lindkvist
1a337ea0f8 #4474 Add command for getting runtime info (i.e. console/gui)
* Also fixed up some tests when running in console
2019-06-05 15:45:22 +02:00
Gaute Lindkvist
eec5569eca #4428 Fix load case with relative paths 2019-06-05 14:30:10 +02:00
Gaute Lindkvist
7444007219 #4470 Fix crashes when launching headless 2019-06-05 14:28:48 +02:00
Gaute Lindkvist
a0d81a08e8 #4465 Implement all remaining command file commands and add tests for some commands 2019-06-05 11:26:19 +02:00
Gaute Lindkvist
5b39860a41 #4460 Improved error messages for pytest 2019-06-05 08:59:30 +02:00
Gaute Lindkvist
196e7df0fa #4460 Further gRPC/Python tests 2019-06-04 20:35:30 +02:00
Gaute Lindkvist
8bbbaec9df gRPC: multi-case test 2019-06-04 13:26:30 +02:00
Gaute Lindkvist
3530c8b3de #4460 #4424 Adding Exit() to the gRPC interface plus implemented test framework 2019-06-04 12:59:06 +02:00
Gaute Lindkvist
930abbf02f Python: added tests and made Octave InputPropTest.m general
* removed non-general hard-coded grid sizes and added timing to Octave test
* added two Pythonbenchmarks (sync and async) for the same test
2019-06-04 10:49:35 +02:00
Gaute Lindkvist
b6427d84c3 gRPC: enable multiple server->client streams of property data at the same time 2019-06-04 10:33:11 +02:00
Gaute Lindkvist
5379e95857 Python: more examples + a comparable Octave Example 2019-06-04 08:45:13 +02:00
Gaute Lindkvist
35059d1d67 #4428 Implement more commands 2019-06-03 21:22:03 +02:00
Gaute Lindkvist
fe2d352f84 #4462 Python Fix examples to run well with either install module or without 2019-06-03 21:11:27 +02:00
Gaute Lindkvist
17821ade6c #4461 Fix return values from RicfCommandResponse 2019-06-03 21:10:21 +02:00
Gaute Lindkvist
a468532d7f
#4457 Python: clean up grpc api, Python client API and make installable python package (#4456)
* gRPC: Make names more consistent

* gRPC: clean up case info and improve Python API for cases

* gRPC: much more object oriented Python interface

* Python: Make a proper pip-installable package

* Update rips Python package to auto generate setup.py with version number

* Python: add setup.py to gitignore

* Python: Update Python RIPS interface

* gRPC: Remove example client from cmake file and unit test

* gRPC: Fix up unit test after merge and hide warnings

* gRPC: fix up python client code
2019-06-03 14:33:16 +02:00
Gaute Lindkvist
2c30f846f0 Make MDI Window icon different from main application icon 2019-05-31 11:00:32 +02:00
Magne Sjaastad
db97951a80 Fix casing : Add file with correct casing 2019-05-31 10:17:44 +02:00
Magne Sjaastad
ec5e655617 Fix casing : temp delete 2019-05-31 10:15:11 +02:00
Gaute Lindkvist
596f098d43 Python: Add more examples and fix async streaming code 2019-05-30 18:52:38 +02:00
Gaute Lindkvist
a6cdec0816 Python: enable storage of new results and improve reliability 2019-05-30 18:52:16 +02:00
Magne Sjaastad
3d109da5b2 #4425 Python: Add install of gRPC dlls and Python module 2019-05-29 15:12:34 +02:00
Magne Sjaastad
5b7b9993a0 Remove duplicate if statement 2019-05-29 15:12:34 +02:00
Gaute Lindkvist
b2b3581e9d Partial revert of ApplicationCode/CMakeLists.txt to fix build issues 2019-05-29 08:14:02 +02:00
Gaute Lindkvist
6691dca4ca #4448 Clean up ResInsight Qt5-checks 2019-05-28 15:58:49 +02:00
Gaute Lindkvist
f8b8f4d7c8 #4436 Issue refreshToolbar after creating well log extraction curve 2019-05-27 16:13:41 +02:00
Gaute Lindkvist
6864888591 Add CAF_ASSERT to RigCaseCellResultsData::statistics
* Currently the code crashes in a dual porosity case.
* This commit doesn't fix the problem but adds an assert which triggers instead of just crashing
2019-05-27 14:53:25 +02:00
Gaute Lindkvist
debf15bbbe Fix test filter in regression test runner 2019-05-27 14:53:25 +02:00
Gaute Lindkvist
6d969263d5 Hide GPRC warnings on Linux 2019-05-27 14:53:25 +02:00
Gaute Lindkvist
bbe3e7ff04 #4440 Update legend ranges when changing oil column data 2019-05-27 14:53:25 +02:00
Gaute Lindkvist
af83ee310f #4435 Make sure we don't ask user about changes to preferences that haven't been changed 2019-05-27 14:53:25 +02:00
Gaute Lindkvist
14ff796392 gRPC: renames 2019-05-27 07:29:20 +02:00
Gaute Lindkvist
c9d56bda9c gRPC: Move all python code into the ApplicationCode/GrpcInterface folder 2019-05-25 09:34:44 +02:00
Gaute Lindkvist
9ac15ec553 gRPC: Add SetGridProperties.py example 2019-05-25 09:34:44 +02:00
Gaute Lindkvist
7c475e72e4 gRPC: Add SetResultValues.py example 2019-05-25 09:34:44 +02:00
Gaute Lindkvist
af054fb95e #4428 Implement support for repeated fields as parameters and add exportWellPaths to client library 2019-05-24 13:39:44 +02:00
Gaute Lindkvist
c7f8edad04 #4428 implement all command file commands as gRPC services 2019-05-24 13:39:44 +02:00
Gaute Lindkvist
3345eb5170 Fix unit tests following CommandObject::execute changes 2019-05-24 09:17:57 +02:00
Gaute Lindkvist
c2996bf638 Further build fixes related to RiaLogging 2019-05-24 08:58:04 +02:00
Gaute Lindkvist
e8a54d8aa8 Fix build issues following command feature changes 2019-05-24 08:53:29 +02:00
Gaute Lindkvist
79645ceed9 gRPC: Fix Linux build issues 2019-05-24 08:00:50 +02:00
Gaute Lindkvist
cc031e7895 #4429 Implement return values from the gRPC Command execution 2019-05-23 16:47:02 +02:00
Gaute Lindkvist
650af20e06 #4429 Implement return status handling for command file interface 2019-05-23 16:47:02 +02:00
Gaute Lindkvist
6ad0c8fbe1 gRPC: Fix up comments and clean up callback code 2019-05-23 16:47:02 +02:00
Magne Sjaastad
0cb2194bfb #4445 Active cells : Always use PORV if present 2019-05-23 14:14:51 +02:00
Magne Sjaastad
df405dd396 #4437 Make sure formation colors are available and visible for all time step 2019-05-23 13:45:21 +02:00
Gaute Lindkvist
690ab840c5 Minor gRPC updates 2019-05-22 16:03:03 +02:00
Gaute Lindkvist
c30721593e #4430 Implement client -> server streaming framework and SetActiveCellProperty 2019-05-22 15:30:09 +02:00
Gaute Lindkvist
90af7a2e6b gRPC: Cleanup streaming callback. DataCount storage is not necessary 2019-05-22 08:45:25 +02:00
Gaute Lindkvist
ac18bc20ec Remove requirement of assignReply from StateHandler template-interface
* This is handled internally and is not required by the interface
2019-05-22 08:30:22 +02:00
Gaute Lindkvist
d1a0799861 Implemented getGridCellResults() 2019-05-21 16:33:41 +02:00
Gaute Lindkvist
86e202aed0 #4430 Implement GetAvailableProperties() and GetActiveCellResults() 2019-05-21 13:40:42 +02:00
Gaute Lindkvist
c4a4ceef29 Link grpc libraries statically on UNIX/Linux 2019-05-20 15:58:50 +02:00
Gaute Lindkvist
5e23bd5578 #4427 Add proto files to IDE project 2019-05-20 15:31:40 +02:00
Gaute Lindkvist
177a54615b Remove Python sources groups on Linux to fix build issue 2019-05-20 15:20:49 +02:00
Gaute Lindkvist
b44f0a2029 #4418 Handle all queued gRPC requests per main loop iteration
* This means a streaming request should be completed in one main loop iteration
2019-05-20 15:20:49 +02:00
Gaute Lindkvist
4aad1e61d1 Fix tabs in CMakefiles 2019-05-20 15:20:49 +02:00
Gaute Lindkvist
922386c673
#4416 First implementation of gRPC-based Python interface
First implementation with Asynchronous gRPC server, a few services and some client python code.
2019-05-20 13:21:02 +02:00
Magne Sjaastad
bfe8e7176a #4410 Dock Window State : Restore dock widgets when opening main window 2019-05-15 13:54:05 +02:00
Magne Sjaastad
a52afd7b34 #4410 Dock Window State : Set default visibility of dock widgets 2019-05-15 13:37:23 +02:00
Magne Sjaastad
699870c8c7 #4410 Dock Window State : Use hideAllDockWidgets() in base class 2019-05-15 12:31:27 +02:00
Magne Sjaastad
95124adca6 #4410 Dock Window State : Add features for default dock widget visibility 2019-05-15 11:27:36 +02:00
Magne Sjaastad
6830d79de7 #4410 Dock Window State : Move plot widget names to DockWidgetTools 2019-05-15 10:52:27 +02:00
Magne Sjaastad
f43edf3c7d #4410 Dock Window State : Create static functions instead of singleton 2019-05-15 10:47:30 +02:00
Magne Sjaastad
a68650ebf8 #4410 Dock Window State : Remove obsolete code 2019-05-15 10:36:23 +02:00
Magne Sjaastad
11433241fd #4410 Dock Window State : Remove obsolete code 2019-05-15 10:31:56 +02:00
Magne Sjaastad
bf6b5652b3 #4410 Dock Window State : Give dock widgets unique names 2019-05-15 09:45:44 +02:00
Magne Sjaastad
1a67773ace #4410 Dock Window State : Remove obsolete functions 2019-05-15 07:35:53 +02:00
Gaute Lindkvist
b824f1d75f #4407 Make sure we convert fontInScene from point size to enum value from old registry settings 2019-05-13 15:46:31 +02:00