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
Gaute Lindkvist
ca919402e9
fixes
2019-09-19 14:10:52 +02:00
Gaute Lindkvist
505660f9d6
#4736 Project renames
2019-09-19 14:02:23 +02:00
Gaute Lindkvist
9a0f135431
#4736 test fixes
2019-09-19 13:56:29 +02:00
Gaute Lindkvist
9bc2781817
#4736 Instance.py renames
2019-09-19 13:34:34 +02:00
Gaute Lindkvist
8ff0c05760
#4736 GridCaseGroup.py renames
2019-09-19 13:27:26 +02:00
Gaute Lindkvist
0657bd1f11
#4736 Commands.py renames
2019-09-19 13:25:04 +02:00
Gaute Lindkvist
e5987c26d7
#4736 Case.py renames
2019-09-19 13:15:58 +02:00
Magne Sjaastad
fe9e567825
#4683 clang-format on all files in ApplicationCode
2019-09-06 10:57:22 +02:00
Gaute Lindkvist
b93f4fac0f
#4661 Python: Fix pip-package generation and add instructions
2019-09-03 12:25:02 +02:00
Magne Sjaastad
0237e885ad
Python Doc : Add Python logo
2019-09-03 11:10:59 +02:00
Magne Sjaastad
b287e2e128
Python doc : Split into three python documents
2019-09-03 10:59:00 +02:00
Magne Sjaastad
70394f95e5
Python doc : Add more tables
2019-09-03 10:55:26 +02:00
Magne Sjaastad
f77882058b
Python Doc : Add examples
2019-09-03 07:25:51 +02:00
Magne Sjaastad
2e6d86d213
Python doc : Added examples page
2019-09-02 21:17:21 +02:00
Gaute Lindkvist
551e459942
#4655 Python Fix crash when streaming properties to ResInsight
2019-09-02 15:12:22 +02:00
Magne Sjaastad
97f18962de
Python doc : Add doc directly in client code for export flow characteristics
2019-09-02 15:11:34 +02:00
Magne Sjaastad
ca644ba477
Python doc : Add more doc and example for timestep class
2019-09-02 14:55:21 +02:00
Gaute Lindkvist
6880483453
gRPC: bundle grpcio-tools rather than just grpcio
2019-08-27 15:49:49 +02:00
Gaute Lindkvist
6cd37e1130
Python: updated AppInfo.py to reflect merger of App and Instance
2019-08-27 10:46:24 +02:00
Gaute Lindkvist
7b9e6677ff
GRPC: Move to version strings rather than int to avoid octal numbers
2019-08-26 15:48:20 +02:00
Gaute Lindkvist
222f230687
#4578 Add commands for create and clone view ( #4625 )
2019-08-26 10:04:44 +02:00
Gaute Lindkvist
a1f9c4c1cd
Comment for circular import of Python module
2019-08-26 10:03:56 +02:00
Gaute Lindkvist
09c1ba26b3
Merge pull request #4628 from OPM/feature-python-command-line
...
#4610 Python: Add support for sending in command line arguments when launching ResInsight
2019-08-26 10:02:21 +02:00
Gaute Lindkvist
f279aeced7
#4610 Enable command line options and port number in rips.Instance.launch()
2019-08-23 15:31:44 +02:00
Gaute Lindkvist
72a954e9f7
Python: Stop copying Python files to build folder.
2019-08-23 15:31:32 +02:00
Magne Sjaastad
d663ea2ae7
Documentation updates
2019-08-23 11:44:28 +02:00
Magne Sjaastad
d6c80f52a7
Documentation updates
2019-08-23 11:42:14 +02:00
Magne Sjaastad
45b53af1be
#4611 Python : Remove reference do deleted module App
2019-08-23 11:42:14 +02:00
Gaute Lindkvist
2e49670f40
#4578 Add commands for create and clone view
2019-08-23 11:25:00 +02:00
Magne Sjaastad
a86ae13bb7
Rename command line argument to --server
2019-08-22 14:42:14 +02:00
Magne Sjaastad
4dcd7663c9
Merge pull request #4618 from OPM/feature-python-instance-app
...
#4611 Merge Python classes app and instance
2019-08-22 14:19:37 +02:00
Gaute Lindkvist
4afe159f91
#4611 Remove App.py
2019-08-22 14:16:51 +02:00
Gaute Lindkvist
fb4aff4836
GRPC Build issues: make sure we don't run configure_file on generated sources
2019-08-22 13:32:25 +02:00
Gaute Lindkvist
5b0d77f19a
Configure setup.py and RiaVersionInfo.py first
2019-08-22 12:53:08 +02:00
Gaute Lindkvist
07cb9e52cb
#4611 Merge python classes App and Instance
2019-08-22 11:32:08 +02:00
Gaute Lindkvist
28bb8641d2
#4615 Make Python code show up in Visual Studio project
2019-08-22 10:42:55 +02:00
Gaute Lindkvist
4af1963ac0
#4551 Optionally Bundle grpcio Python module and dependencies ( #4602 )
...
* #4551 Optionally Bundle grpcio Python module and dependencies
* More status messages
2019-08-21 15:29:25 +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
6c0e2bb3ad
#4597 Python: add exportSnapshots example and more comments in examples
2019-08-19 13:48:36 +02:00
Gaute Lindkvist
edfb39c9b7
#4596 Python: Add gridPath method to Case and add simpler activeCellInfo method
2019-08-19 13:48:36 +02:00
Gaute Lindkvist
68d3ffdbb2
#4596 fix applyCellResult legend range
2019-08-19 13:48:36 +02:00
Gaute Lindkvist
824ec5cef6
Python: Rename example directory to PythonExamples
...
* This is so that when we add the folder to the Script Path it will look more sensible to the user.
2019-08-19 08:46:09 +02:00
Gaute Lindkvist
071bb42101
#4576 Python: Add tests to check for expected exceptions
2019-08-14 09:43:44 +02:00
Gaute Lindkvist
197279ccbf
#4576 Python: Improve error handling and add example
2019-08-14 09:22:34 +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
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
Gaute Lindkvist
02107a7a93
Remove all sys.path.inserts from Python examples.
2019-08-11 14:51:48 +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
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
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
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
Gaute Lindkvist
beb6256f53
Make it possible to edit case group statistics
2019-07-30 12:32:10 +02:00