Commit Graph

213 Commits

Author SHA1 Message Date
Gaute Lindkvist
75f507e2ef #6549 Fix case.replace from interactively opened project 2020-09-23 18:02:30 +02:00
Magne Sjaastad
b1fb7990dc #6393 Snapshot : Make sure widgets are activated before taking snapshot
If the active plot window is maximized in the MDI area, all plots will create the same snapshot size.
2020-08-31 08:38:37 +02:00
Gaute Lindkvist
f82b2f73ec #6320 Refactor of PdmScripting
* Make base class abstract
* Implement support for IOHandling for PdmChild and PdmChildArray fields
2020-08-25 08:33:47 +02:00
github-actions[bot]
6b5f4dddc9 Fixes by clang-format 2020-06-08 11:09:51 +02:00
Kristian Bendiksen
c016c02e40 Replace RiaApplication::instance()->project() with RimProject::current().
Also remove uneccessary includes of RiaApplication.h.
2020-05-12 12:01:44 +02:00
Magne Sjaastad
72fefb4db5 Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
83914006fd Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
8aa36ee31e Convert to enum class 2020-04-24 11:40:22 +02:00
Gaute Lindkvist
c51aa91c42
#5632 Python method commands (#5649)
* General PdmObjectMethods for scripting.
2020-03-10 14:11:22 +01:00
Gaute Lindkvist
2424d79c5d Move some more scriptability to caf 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
17ea69397a Move RicfMessages to CAF and simplify RicfFieldCapability 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
554f9a1758 Translate data types to Python data types for Python generation 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
b2f55a3101 Make scriptability a CAF-feature 2020-03-05 08:40:46 +01:00
Magne Sjaastad
1187a2e551 #5612 Saturation Pressure Plots : Add support for user defined time step 2020-02-28 12:39:24 +01:00
Gaute Lindkvist
d95f3a349d Move to use a static registry of scriptable classes 2020-02-25 13:57:51 +01:00
Gaute Lindkvist
83942784df Add separate scriptKeyword to RICF capability and a Python help tooltip system 2020-02-25 13:57:51 +01:00
Gaute Lindkvist
76b108d068 Fix import of well paths and well log files from Python when the folder is not provided 2020-02-25 13:57:51 +01:00
Gaute Lindkvist
a3a7b6029e Fix cloning of GeoMech views from Python 2020-02-21 08:57:26 +01:00
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
c9f5b47a90 Support different units when importing and exporting WBS LAS. 2020-02-03 15:56:07 +01:00
Gaute Lindkvist
e1c1981830 Support PDF-export 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
49fe313517 Support setting time steps for GeoMechCases in ResInsight 2020-01-22 09:28:46 +01:00
Gaute Lindkvist
4b9ea05033 Remove wrong error message on successfully cloning views from Python. 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
Magne Sjaastad
7d05a8bd0a #5300 Formations : Fix update issues 2020-01-06 14:33:54 +01:00
Magne Sjaastad
d6bdc53ee5 #5185 Regression Test : Always set regression image size on snapshot commands 2019-12-05 11:56:10 +01:00
Magne Sjaastad
57cab2457e clang-format : Set PenaltyBreakAssignment to 130 2019-11-04 15:08:09 +01:00
Magne Sjaastad
b46124efd7 Janitor : Use const ref when possible 2019-11-03 12:19:24 +01:00
Magne Sjaastad
67e7bb0cf3
Fixes detected by cppcheck (#4974)
* Janitor : Remove obsolete pointer to dialog

* Janitor : Remove unused functions

* Janitor : Remove unused functions

* Janitor : Add explicit to constructors

* Janitor : Remove unused variables

* Janitor : Remove unused functions related to summary plot templates

* clang-tidy : Use nullptr instead of 0

* clang-tidy : Fix usage of virtual and override

* Upped to version 2019.08.2-dev.05

* Janitor : Remove unused variables

* Janitor : Clean up several cppcheck issues

* Janitor : Add cppcheck config files

* Janitor : Use const when possible
2019-11-03 08:37:03 +01:00
Magne Sjaastad
18c52b0e18 Janitor : Avoid using .. when referencing include files 2019-10-30 09:12:13 +01:00
Gaute Lindkvist
905c34968f Added missing RicfSetPlotWindowSize files 2019-10-18 08:23:57 +02:00
Gaute Lindkvist
3eaf933efc Python command for setting plot window size 2019-10-18 08:12:36 +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
Magne Sjaastad
69ff4d25f2 #4847 Command Line Snapshots : Make sure image size is handled correctly 2019-10-11 08:32:08 +02:00
Gaute Lindkvist
32817d2cc6 Renamed RicWellPathsImportFileFeature to RicImportWellPaths 2019-10-09 09:27:26 +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
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
Magne Sjaastad
fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +02:00
Magne Sjaastad
ef80f5b629 #4683 System : Remove obsolete include of cvfBase.h 2019-09-06 10:52:54 +02:00
Gaute Lindkvist
51793ea7b3 Fix error in CloneView result 2019-08-26 10:01:40 +02:00
Gaute Lindkvist
e7f90c0ecf Clang-format 2019-08-26 09:57:50 +02:00
Gaute Lindkvist
2e49670f40 #4578 Add commands for create and clone view 2019-08-23 11:25:00 +02:00
Gaute Lindkvist
7bfe4f4bfe
#4603 Python: add case Id to exportSnapshots (#4604)
* #4603 Python: add case Id to exportSnapshots
* Fixup after review
2019-08-21 15:11:29 +02:00
Gaute Lindkvist
f61df01694 #4526 enable setting flow diagnostics results through Python 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
Magne Sjaastad
6e76e043c6 Fix copyright header 2019-07-30 10:36:06 +02:00