Commit Graph

184 Commits

Author SHA1 Message Date
Magne Sjaastad
c82df63e10 #5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
2020-02-12 13:35:31 +01:00
Magne Sjaastad
10f0abc9b5 #5101 clang-format: Allow short functions on a single line
Use AllowShortFunctionsOnASingleLine: InlineOnly
2020-02-12 13:35:31 +01:00
Gaute Lindkvist
752cf9925c Fix Python error 2020-02-04 10:09:35 +01:00
Gaute Lindkvist
c9f5b47a90 Support different units when importing and exporting WBS LAS. 2020-02-03 15:56:07 +01:00
Gaute Lindkvist
4494c21c8f #5365 Implement toggling of PdmObjects 2020-01-29 08:41:37 +01:00
Gaute Lindkvist
54f1ed32de Fix problem with assignment of view id for plots on console runs 2020-01-27 14:12:37 +01:00
Gaute Lindkvist
d8dfca5bad Make create_wbs_plot.py set depth range based on reservoir bounding box 2020-01-27 13:50:15 +01:00
Gaute Lindkvist
23e6bc2e86 #5372 Implement getting reservoir bounding box from Python 2020-01-24 11:07:38 +01:00
Gaute Lindkvist
ce2ce15460 Add comments to create_wbs_plot.py 2020-01-22 09:28:46 +01:00
Gaute Lindkvist
e1c1981830 Support PDF-export from Python 2020-01-22 09:28:46 +01:00
Gaute Lindkvist
1133816471 Well Log Plot python test 2020-01-22 09:28:46 +01:00
Gaute Lindkvist
896767c991 Support setting well log plot fields from Python 2020-01-22 09:28:46 +01:00
Gaute Lindkvist
56d141d4c3 Support setting Wbs-parameters from Python. 2020-01-22 09:28:46 +01:00
Gaute Lindkvist
954bf1e02e Support setting of child fields from Python and pass in WbsParameters if provided
Also fixes #5354
2020-01-22 09:28:46 +01:00
Gaute Lindkvist
a58d854030 Fix problem with black background in snapshot export 2020-01-09 14:41:00 +01:00
Jacob Støren
b01c4409f1
Merge pull request #5246 from OPM/feature-external-file-reference-list-in-project-file
Feature: #5147 External file reference list in project file
2019-12-18 15:47:50 +01:00
Gaute Lindkvist
47b93dc0d1
Implement pdf rendering (#5250)
* First PDF creation support

* Reimplement info box

* Set title and make overlay frame margins more unified

* Remove a style sheet that was never meant to be applied to Project Tree

* Update RiuDraggableOverlayFrame when changing content

* Default page layout in Preferences

* undo removal of elision

* Remove friend class assignment in cafCategoryMapper

* the required methods have been made public

* Fix up after review

* Remove spurious const on by-value return

* Fix compile errors on Linux

* Fix size adjustment of legends with plot resizing
2019-12-18 12:25:19 +01:00
Jacob Støren
1575705835 Fix whitespace difference 2019-12-18 09:05:39 +01:00
Jacob Støren
2ca3345a20 Add save() as a command to the python interface
Fix export_snapshot issue
2019-12-17 13:27:02 +01:00
Jacob Støren
c551baf409 #5235 fix python: project.export_snapshot 2019-12-17 10:56:00 +01:00
Gaute Lindkvist
22594b5137 Fix CMake warning in GRPC code 2019-11-26 14:49:53 +01:00
Gaute Lindkvist
26217dc665 Fix potential incompatibility with grpc v1.23.0+
See:
https://github.com/grpc/grpc/pull/19435
2019-11-26 14:49:53 +01:00
Gaute Lindkvist
d770dda163 Converted RiaGrpcCallbacks.h to using instead of typedef 2019-11-25 15:13:30 +01:00
Gaute Lindkvist
f130163ee8 Fix up tests to match new view id 2019-11-21 08:15:17 +01:00
Gaute Lindkvist
85d683634c Further refactoring 2019-11-20 13:14:45 +01:00
Magne Sjaastad
651c28dc49 clang-format : Added extension .inl
Applied clang-format on all files in ApplicationCode including new extension .inl. Also includes some missing clang-format on other files.
2019-11-19 11:09:52 +01:00
Magne Sjaastad
57cab2457e clang-format : Set PenaltyBreakAssignment to 130 2019-11-04 15:08:09 +01:00
Magne Sjaastad
4ff56c7751 Janitor : Set copy constructor and assignment operator deleted 2019-11-03 11:14:48 +01:00
Magne Sjaastad
e042b2d17b #4958 Summary adjustments : Rename to Last used summary template 2019-10-31 11:55:53 +01:00
Magne Sjaastad
e21e4f5008 Documentation : Updates for Python documentation 2019-10-25 11:20:27 +02:00
Kristian Bendiksen
174248087d #4819 Add option to exclude undefined values from contour map export. 2019-10-22 21:58:45 +02:00
Kristian Bendiksen
8e076b3acb #4821 Add python objects for Contour Map export. 2019-10-22 21:58:45 +02:00
Gaute Lindkvist
3eaf933efc Python command for setting plot window size 2019-10-18 08:12:36 +02:00
Gaute Lindkvist
2ad42b7fcf Fix typo in CMake for set_cell_result.py 2019-10-16 10:31:58 +02:00
Gaute Lindkvist
bc8134009b #4867 Rename python examples to avoid mixed case 2019-10-15 16:31:40 +02:00
Gaute Lindkvist
d3140b6aac
System command command file merger (#4845)
* Move Import WellPaths command-file functionality into RicImportWellPaths

* Add new RICF_init macros for command file objects

* Make project save commands available in Python

* Fix RiaLogging build errors

* Move RiaLogging include from RiaGrpcServer.h to cpp file
2019-10-15 15:46:19 +02:00
Gaute Lindkvist
ba528c9c0a Fix Python plot export 2019-10-09 10:51:24 +02:00
Gaute Lindkvist
a5e2e25b1b Fix CaseInfoStreamingExample.py 2019-10-09 10:35:16 +02:00
Gaute Lindkvist
9f0cf91789 Fix Pytest failures 2019-10-09 10:30:19 +02:00
Gaute Lindkvist
2961782be1 Renamed caf::PdmXmlObjectHandle::isOfClassKeyword to ::inheritsClassWithKeyword 2019-10-09 09:26:30 +02:00
Gaute Lindkvist
11117383db
#4817 #4830 #4832 #4837 #4839 Python commands for WBS creation, well path import and well log file import (#4838)
* Better minimum width for well log tracks

* Fix alignment of scrollbar in Well log plots

* Better Well Log Plot export

* Hide scroll bar before plotting
* Better borders

* Create plots through Python

* #4817 Create WBS plots with Python

* Rebase Summary and WellLogPlot on top of a new RimPlot

* Also Python: Allow setting folder as a parameter to export_snapshots

* #4832 Prepare for well path import command

* Well Path import WIP

* #4830 #4832 Import well paths and well log files from file using Python.

* #4837 Implement import of formation names in Python

* Fix debug build issue

* Fix RiaLogging build issue

* Fix warnings

* Yet another RiaLogging.h import added

* #4839 Import exporting of las and ascii files from well log plots
2019-10-09 09:21:28 +02:00
Magne Sjaastad
482d437505 #4835 Python Cell Results : Not possible to write data if no dynamic data is present 2019-10-08 10:39:22 +02:00
Magne Sjaastad
e3aa160265
Python doc adjustments (#4756)
* Doc and adjustments of project.py

* Doc and adjustments view.py

* Python doc cleanup

* Python : Add copy of files to deployment folder

* Python : Several updates to doc

* Python : Limit line lenghts

* Minor adjustments
2019-09-24 11:06:24 +02:00
Gaute Lindkvist
8209adfe91 Python: Fix wrong use of enumerate 2019-09-24 09:58:50 +02:00
Gaute Lindkvist
0a6128de0f Fix wrong Grid->grid rename in GRPC CMakeLists.cmake 2019-09-24 08:59:52 +02:00
Gaute Lindkvist
0125b13241 Additional python PEP 8 fixes 2019-09-23 15:26:49 +02:00
Gaute Lindkvist
a2bad82391
#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
2019-09-23 11:50:33 +02:00
Gaute Lindkvist
2b33592c66 Example renames 2019-09-19 15:14:01 +02:00
Gaute Lindkvist
502a1532b6 #4736 View.py renames 2019-09-19 15:02:55 +02:00
Gaute Lindkvist
3aa3bb67a7 #4736 Properties renames 2019-09-19 14:25:38 +02:00