Commit Graph

9142 Commits

Author SHA1 Message Date
Magne Sjaastad
010c9a539f #4579 Countour Map : Fix missing data for Eclipse cases
Introduction of checkable sub grids caused contour maps to display nothing. The problematic code was  m_gridCollection->setActive(false);

Changes in update logic based on checked state of visible grids triggered new computation of visible cells. In this case, all grids where marked as invisible due to the disabled grid collection.
2019-08-15 10:08:43 +02:00
Gaute Lindkvist
071bb42101 #4576 Python: Add tests to check for expected exceptions 2019-08-14 09:43:44 +02:00
Gaute Lindkvist
7afeae144a Python CMake: change RESINSIGHT_GRPC_PYTHON_EXECUTABLE to be FILEPATH instead of PATH 2019-08-14 09:23:14 +02:00
Gaute Lindkvist
197279ccbf #4576 Python: Improve error handling and add example 2019-08-14 09:22:34 +02:00
Gaute Lindkvist
84495641f9 Fix problem with wrong return value for RiaImportEclipseCaseTools method 2019-08-14 09:08:55 +02:00
Gaute Lindkvist
f3d8e3dbdc #4566 #4572 Python: improve behaviour when sending more data than expected in property streams 2019-08-13 14:39:28 +02:00
Gaute Lindkvist
499798abc5 gRPC: Improve naming of streaming callbacks 2019-08-13 13:17:05 +02:00
Magne Sjaastad
10e3180332 #4565 Highlight Curves : Clicking on curve causes access violation
Create a copy of the item list before the loop to avoid invalidated iterators when iterating the list plotCurve->setZ() causes the ordering of items in the list to change
2019-08-13 12:58:04 +02:00
Magne Sjaastad
7b3155ab33 Help text editor : Set text widget as read only 2019-08-13 10:16:31 +02:00
Magne Sjaastad
94e71b900c Improve help text 2019-08-13 10:12:32 +02:00
Magne Sjaastad
d2b6cb589c #4563 Summary : Fix import of summary file specified by casename.SMSPEC 2019-08-13 08:20:50 +02:00
Magne Sjaastad
3f7a5ff29c cmake : Rename to RESINSIGHT_GRPC_INSTALL_PREFIX 2019-08-12 09:52:19 +02:00
Magne Sjaastad
e70cf3c736 cmake : Rename to RESINSIGHT_GRPC_PYTHON_EXECUTABLE 2019-08-12 09:52:19 +02:00
Magne Sjaastad
b3c00c2038 Mark several cmake options as advanced 2019-08-12 09:52:19 +02:00
Jacob Støren
b5d9a47fdc #4556 Command Line Help: Improve help text
Group options using newline
Fix misleading --case description
2019-08-12 08:35:12 +02:00
Gaute Lindkvist
02107a7a93 Remove all sys.path.inserts from Python examples. 2019-08-11 14:51:48 +02:00
Jacob Støren
93b4101831 #4003 Use the preferences settings when creating default summary plots.
Refactored to make assigning default curve appearance easier.
2019-08-09 13:15:32 +02:00
Magne Sjaastad
31f4453135 #4540 Command line : Fix option --case without file extension 2019-08-09 12:27:36 +02:00
Magne Sjaastad
0bb84b22a5 #4540 : Include full path when working with extensions 2019-08-09 12:27:36 +02:00
Jacob Støren
e915c8e18c #4003 Refactoring to prepare for preferences based default summary plot curves 2019-08-09 09:54:55 +02:00
Magne Sjaastad
4ed30ad4af Avoid using c++-14 2019-08-09 08:05:53 +02:00
Jacob Støren
0d456a1f1b #4002 Renamed feature that opens the plot editor and created feature to create a new plot directly. The new feature uses the selected summary cases and creates a default curve for each. 2019-08-08 16:22:00 +02:00
Gaute Lindkvist
0a30e6c340 #4547 Add simplified synchronous methods for activeCellProperty and gridProperty 2019-08-08 15:17:39 +02:00
Magne Sjaastad
136251c4b1 Python doc : Add modules GridCaseGroup and View 2019-08-08 14:41:07 +02:00
Magne Sjaastad
54ed32e474 Python doc : Update to hugo syntax 2019-08-08 14:41:07 +02:00
Magne Sjaastad
d9b1cfec3a Update sphinx doc 2019-08-08 14:41:07 +02:00
Jacob Støren
b2adea51e3 #4001 Improved windows console support. Other shells than native also supported. Preparations for Summary plotting command line parameters. 2019-08-08 13:33:51 +02:00
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