Commit Graph

9165 Commits

Author SHA1 Message Date
Jacob Støren
81de872c7b #4543, #4544 Fixed missing command line help text from menu-command and --help option.
Improved the error text when an unknown option is used.
Improved the dialog used to show command line options, and make the text selectable
2019-08-08 10:46:15 +02:00
Jacob Støren
1caee676bc Use the Socket Server error message channel for writeBlockData errors, as all the socket server related errors use.
Done to prepare for fixing #4543 and #4544
2019-08-08 10:46:14 +02:00
Magne Sjaastad
e26cd1a896 #4483 Summary Plot: Fix curve names for segment/block/conmpletions 2019-08-08 09:39:03 +02:00
Magne Sjaastad
44ccbff9ee #4483 Summary Plot: Fix well segment stepping 2019-08-08 09:13:59 +02:00
Magne Sjaastad
209040899a Python : Add comment 2019-08-08 08:23:03 +02:00
Magne Sjaastad
4381f679e5 Python pytest : Issue project.close() after each test 2019-08-08 08:15:04 +02:00
Magne Sjaastad
8cb3ac5b1f #4538 Check fullPathProjectFileName instead of project 2019-08-07 16:32:07 +02:00
Magne Sjaastad
58cef265ec #4538 Skip Save project at exit when no data has changed
Guard changes in preferences and reset change detector when project is closed
2019-08-07 14:21:37 +02:00
Jacob Støren
5e2485863c Fixed missing copy of qt dll's on msvc using cotire 2019-08-07 09:39:24 +02:00
Gaute Lindkvist
1417fc2be7 #4542 Bring highlighted curve to the top and stop altering color of selected curve 2019-08-06 11:39:09 +02:00
Gaute Lindkvist
712fd2a160 Python: add Python process environment to launch of script editor. 2019-08-06 10:59:10 +02:00
Magne Sjaastad
ec1cf83b4e #4483 Summary Plot: Data source for well segment number and completions 2019-08-05 21:53:48 +02:00
Gaute Lindkvist
a9ee69587d #4536 Make sure we guard against calculating Mobile Volume Weighted Mean for visible cell stats and not just all cell stats. 2019-08-03 16:21:31 +02:00
Gaute Lindkvist
25f13122a2 #4517 Implement highlighting function for plot curves 2019-08-02 13:13:23 +02:00
Magne Sjaastad
be40ca25af #4411 Grid Cross Plot : Ensure same ordering when updating data 2019-07-31 18:26:50 +02:00
Magne Sjaastad
74f234784b #4411 Grid Cross Plot : Add comments 2019-07-31 18:25:54 +02:00
Gaute Lindkvist
b8d6c6b958 Make sure default text editor is actually used in RiaPreferences-defaults 2019-07-31 11:41:06 +02:00
Gaute Lindkvist
d9d9e388da Python: Update API documentation 2019-07-31 11:03:09 +02:00
Gaute Lindkvist
213591f522 #4526 Make sure setting wells for flow diagnostics result works and add simplified API 2019-07-31 09:53:45 +02:00
Gaute Lindkvist
2940713a42 Python: fixes that makes all examples run properly again 2019-07-30 15:26:38 +02:00
Gaute Lindkvist
4161171608 Python: avoid __pycache__ turning up as sub-folder in Script Collection 2019-07-30 15:05:22 +02:00
Gaute Lindkvist
8d1e8fc022 Python: Space in example code 2019-07-30 14:38:10 +02:00
Gaute Lindkvist
010b573afb Python: add extra path to PythonPath for Linux 2019-07-30 14:31:45 +02:00
Gaute Lindkvist
20832dfc88 Scripts: set sensible default editors on Windows and Linux 2019-07-30 14:05:48 +02:00
Gaute Lindkvist
1e688642a4 #4528 Only update the parts of project tree that is required when adding new scripts 2019-07-30 13:44:47 +02:00
Gaute Lindkvist
e89623525c Fix build problem on Qt4 2019-07-30 13:15:31 +02:00
Gaute Lindkvist
1d04f1034f #4471 Fill in "import rips" and other example code when creating a Python script from within ResInsight 2019-07-30 13:15:23 +02:00
Gaute Lindkvist
357c722b4b #4525 Increase default plot font size to 10 2019-07-30 12:51:18 +02:00
Gaute Lindkvist
086ee60d8c #4530 Wait until after Save Project has been asked to hide dock windows. 2019-07-30 12:50:08 +02:00
Gaute Lindkvist
7fcb1afe6c Python: Move gRPC settings into Python group and rename UI items to remove gRPC-terminology 2019-07-30 12:32:10 +02:00
Gaute Lindkvist
92bc71d934 #4528 Fix script paths and adding new scripts 2019-07-30 12:32:10 +02:00
Gaute Lindkvist
7c30af62c2 #4528 #4512 Fix script-locations when loading project and remove initScriptDirectories()
* Disable IO for scriptlocations and make sure we save it in preferences when editing
* The next valid case Id stuff in initDirectories is irrelevant because it always runs on an
  empty project
2019-07-30 12:32:10 +02:00
Gaute Lindkvist
f61df01694 #4526 enable setting flow diagnostics results through Python 2019-07-30 12:32:10 +02:00
Gaute Lindkvist
979101fe96 #4526 Enable setting of flow diagnostics to cell results 2019-07-30 12:32:10 +02:00
Gaute Lindkvist
21a444fd70 #4523 Add simplified interface for grid case group statistics 2019-07-30 12:32:10 +02:00
Gaute Lindkvist
d9a0953b45 #4463 Added command for creating grid statistics 2019-07-30 12:32:10 +02:00
Gaute Lindkvist
beb6256f53 Make it possible to edit case group statistics 2019-07-30 12:32:10 +02:00
Magne Sjaastad
4e33b7454f Python : Avoid closing existing ResInsight when pytest is closing down 2019-07-30 11:55:13 +02:00
Magne Sjaastad
e54d42a0da #4527 Export Flow Characteristics : Add support for Python execution 2019-07-30 11:27:25 +02:00
Magne Sjaastad
b8f0fcd7e9 Flow Diag : Do not assert when tracername is not found 2019-07-30 11:23:31 +02:00
Magne Sjaastad
6e76e043c6 Fix copyright header 2019-07-30 10:36:06 +02:00
Magne Sjaastad
a20c56d21d Python : Fix wrong casing 2019-07-30 10:35:46 +02:00
Gaute Lindkvist
acde63a7e0 Fix build problem without GRPC enabled in RiaApplication.cpp 2019-07-27 11:15:32 +02:00
Gaute Lindkvist
783f4f5bb9 #4521 Fix build failure in RimGeoMechView.cpp
* Include RiaLogging.h
2019-07-26 16:46:56 +02:00
Gaute Lindkvist
c1a89ec10e #4522 Ensure ResInsight does not run if the setuid bit is set on the executable.
* If you run a GUI-version this is likely to be checked anyway through Qt or GTK+ but not the console version.
2019-07-26 16:28:24 +02:00
Gaute Lindkvist
3ba962aefb #4471 Implement python script running and editor in ResInsight GUI, same as Octave. 2019-07-26 14:54:54 +02:00
Gaute Lindkvist
8f464e5e23 #4487 Enable Y-axis scale factor for Auto number formats 2019-07-26 11:37:58 +02:00
Gaute Lindkvist
17ee6627bb #4520 Report identical fault errors only once. 2019-07-26 11:36:40 +02:00
Gaute Lindkvist
a7879813c9 #4459 Fix memory leak in RFT Reader 2019-07-26 10:40:25 +02:00
Gaute Lindkvist
b095ac7226 #4480 Add code for import of layer_zone_table.txt and enable manual import. 2019-07-26 10:40:12 +02:00
Gaute Lindkvist
000ce6db52 #4509 Guard access to gui application code in import and well path code to avoid crashes in console mode 2019-07-25 15:54:20 +02:00
Gaute Lindkvist
d6d1ebd25d #4518 Set grpc.enable_http_proxy=False in Python client code 2019-07-25 10:38:42 +02:00
Gaute Lindkvist
2971c74c2e #4519 Fix error in example python script 2019-07-25 07:36:50 +02:00
Gaute Lindkvist
c2c312068c Python: enable more status messages and warnings for gRPC code generation 2019-07-24 11:13:23 +02:00
Gaute Lindkvist
6b7a9b8da5 #4463 Working creation of grid case groups 2019-07-18 13:43:28 +02:00
Gaute Lindkvist
7a2b9926a0 Allow relative paths in replace case 2019-07-18 13:43:28 +02:00
Gaute Lindkvist
bbc8750d8f #4516 Fix replaceCase in Python gRPC 2019-07-16 17:12:08 +02:00
Gaute Lindkvist
f2c72a0e71 #4484 Added test for replaceCase that fails 2019-07-15 15:50:55 +02:00
Gaute Lindkvist
7a77b5688a Fix build problem on Qt 4.6.x 2019-07-15 14:09:27 +02:00
Gaute Lindkvist
3898b97c8a Fix Python tests 2019-07-15 14:05:34 +02:00
Gaute Lindkvist
dcd3ff6754 #4423 Improve API for setting cell results 2019-07-15 12:30:31 +02:00
Gaute Lindkvist
b7c4a54d9a #4513 Add id to views 2019-07-15 12:30:31 +02:00
Gaute Lindkvist
439913b7b1 #4423 First implementation of PdmObject exchange 2019-07-15 12:30:31 +02:00
Magne Sjaastad
22e47367ee #4506 Deployment : Add _openssl to package name when bundling OpenSSL 2019-06-27 11:37:52 +02:00
Magne Sjaastad
37043b36af #4506 Deployment : Add option to control bundling of OpenSSL
Added RESINSIGHT_BUNDLE_OPENSSL
2019-06-27 11:31:36 +02:00
Magne Sjaastad
1e748d09f6 Deployment : Add SSL binaries to installation on Windows
Use cmake macro to find ssl library, and manipulate include path to find path of DLLs
2019-06-27 09:44:59 +02:00
Magne Sjaastad
3ac518da4c Dock State : Make sure dock state is stored when exit is triggered 2019-06-26 12:09:02 +02:00
Magne Sjaastad
7213ae7e98 #4136 Flow Characteristics : Support relative export paths 2019-06-26 07:50:42 +02:00
Magne Sjaastad
0f0e440185 #4136 Flow Characteristics : Avoid space in CSV column header 2019-06-25 18:18:47 +02:00
Magne Sjaastad
b2857676c8 #4136 Command File : Export of flow characteristics 2019-06-25 17:49:47 +02:00
Magne Sjaastad
40c89489e8 #4426 Linux : Add flag to allow bundle of Qt5 libraries 2019-06-24 19:59:16 +02:00
Magne Sjaastad
56a53fedff Flow Characteristics : Load data in default plot when project is loaded 2019-06-23 19:00:14 +02:00
Magne Sjaastad
c802ba1f98 #4495 Active Cells : Remove unused function 2019-06-23 18:39:04 +02:00
Magne Sjaastad
3c644629df #4136 Export of Flow Characteristics : Use CSV text export 2019-06-23 18:32:05 +02:00
Magne Sjaastad
5dc4e08a03 #4504 Framework : Add CSV text formatter 2019-06-23 18:05:51 +02:00
Magne Sjaastad
7879fe186d #4136 Export of Flow Characteristics : Create text for export and add context menu 2019-06-23 15:18:17 +02:00
Magne Sjaastad
79df075fe4 #4136 Export of Flow Characteristics : Rename 2019-06-23 15:12:33 +02:00
Magne Sjaastad
5067c6ce9c #4503 Framework : Add support for passing text data to command features 2019-06-23 15:02:45 +02:00
Magne Sjaastad
512ecfdf74 #4502 Flow Characteristics Plot : Add legend titles 2019-06-21 22:34:31 +02:00
Magne Sjaastad
188e81d3d2 #4494 Grid Statistics : Update and compute data when visible cell changes from toggling LGR grids 2019-06-21 12:16:09 +02:00
Magne Sjaastad
a3d521e272 #4402 Ensembles: Remove Preference import option 'Separate Case' for Origin ensembles 2019-06-21 09:11:10 +02:00
Magne Sjaastad
8997ec00e0 #4493 Fracture : Hide Fractures in tree view if no fractures in model 2019-06-21 07:07:37 +02:00
Magne Sjaastad
7c054c47f2 #4495 Active Cells : Handle active cells for dual porosity models based on PORV 2019-06-20 15:08:20 +02:00
Magne Sjaastad
515b2a4237 #4495 Active Cells : Use PORV or ACTNUM from statistics computations 2019-06-20 15:01:20 +02:00
Magne Sjaastad
085c4f3714 #4495 Active Cells : Add dual porosity flag to RigMainGrid 2019-06-20 15:01:13 +02:00
Magne Sjaastad
ada2fb1480 #4495 Active Cells : Add helper class to import active cells 2019-06-20 15:01:08 +02:00
Magne Sjaastad
df69bc2d8d Whitespace 2019-06-20 15:00:50 +02:00
Magne Sjaastad
3b8348ddba #4495 Active Cells : Add const to methods 2019-06-20 12:31:23 +02:00
Magne Sjaastad
cf00cb4809 #4497 Fishbones : Set default fishbones to use spacing 2019-06-20 12:01:00 +02:00
Magne Sjaastad
c1b9738298 #4434 Flow Diag adjustments : Use ecl_grid_free 2019-06-18 12:27:29 +02:00
Magne Sjaastad
ff16156c2a #4434 Flow Diag adjustments : Use active cells from PORV in Flow Diag 2019-06-18 10:58:07 +02:00
Magne Sjaastad
b17749ccbd #692 SSIhub: Set wells default toggled on 2019-06-17 10:21:23 +02:00
Magne Sjaastad
03c1311d58 #692 SSIhub: add Sub Items On/Off/Toggle to well list 2019-06-17 09:11:38 +02:00
Magne Sjaastad
bdcc7c53f7 #4490 Command Features : Use app state for toggle features 2019-06-17 09:03:22 +02:00
Magne Sjaastad
41235a2f00 #4490 Command Features : Add support for setting application state to be used in features 2019-06-17 09:02:26 +02:00
Gaute Lindkvist
f59a13cd18 Python: add system for generating markdown docs 2019-06-14 16:09:45 +02:00
Gaute Lindkvist
055cb732db Python: fix up some examples 2019-06-14 16:09:45 +02:00
Magne Sjaastad
6701e13664 Whitespace 2019-06-14 10:45:47 +02:00
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