Commit Graph

15724 Commits

Author SHA1 Message Date
Kristian Bendiksen
550110d8ab Allow different definitions of valid result for StimPlan and Thermal template. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen
d046e2692c
Fix python kill signal (#9320)
* Python: Fix incorrect call to os.kill.

Also make it work on platforms without unix signals.

* Python: Increase process file timeout to one minute.
2022-09-29 07:37:31 +02:00
Kristian Bendiksen
c2b5ab8d2c
#9307 Python: avoid assigning same port number to multiple grpc sessions
* Python: avoid assigning same port number to multiple grpc sessions
* Add retry count when checking for port number file
* Use grpc to find and use port number
* Add test used to start several instances of resinsight at the same time
Testing up to 50 instances works well

* Python: allow launch_port == 0 to assign port by GRPC in Instance.launch().
Also allow longer wait before failing the port number file reading:
it can take some time to launch when launching lots of instances at
the same time.
2022-09-26 14:19:21 +02:00
Magne Sjaastad
587f700ae4 Add requirements.txt with version tagging 2022-09-23 09:06:53 +02:00
Magne Sjaastad
57d3f7dd55
Update ResInsightWithCache.yml
Avoid setup-python called as part of install-qt-action
2022-09-20 08:33:46 +02:00
Magne Sjaastad
d096a67eb0 Set version to 2022.06.1-dev 2022-09-19 15:24:59 +02:00
Magne Sjaastad
8bfb505ca0 Merge branch 'main' into dev 2022-09-19 15:23:52 +02:00
jonjenssen
b23dbd65f0 Fix crash if only plot window is open and you change i.e. the font size in preferences 2022-09-19 07:21:10 +02:00
jonjenssen
17a391cdba Fix crash if only plot window is open and you change i.e. the font size in preferences 2022-09-15 17:54:26 +02:00
Magne Sjaastad
8f9cd55d66 Set version to 2022.06.1 2022-09-15 08:19:41 +02:00
Magne Sjaastad
a0d0e48953 Minor issues when preparing user course
* Grid Cross Plot: Always show grouping icons with color
* Grid Cross Plot: Make sure the info box text content is updated
* Bump version to RC_05
2022-09-15 08:19:41 +02:00
Kristian Bendiksen
d7b29589a2 MultiPlot: Fix small empty legend when toggling legend position. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
711a9b83e7 #9293 MultiPlot: avoid removing non-legend overlays.
The plots can have other kinds of overlays that should not be removed.

Fixes #9293.
2022-09-15 08:19:41 +02:00
Magne Sjaastad
53646865a6 #9295 Make sure grid cross plot is updated when grouping objects are toggled 2022-09-15 08:19:41 +02:00
Magne Sjaastad
f010e5060e Add license notice for Qt-Advanced-Docking-System 2022-09-15 08:19:41 +02:00
Magne Sjaastad
c55fdb2a7d #9292 Update project tree when new fracture is added 2022-09-15 08:19:41 +02:00
Magne Sjaastad
b5993a0c0c Bump version to RC_04 2022-09-15 08:19:41 +02:00
Magne Sjaastad
60aeda1e6f Adjust auto plot settings
* Adjust the max value for summary curves to get more space on top of plot
* Compute axis range before computing auto plot settings
* Use axis object name as key when computing aggregated min/max
* Guard infinite recursion for enableAutoValue()
2022-09-15 08:19:41 +02:00
Magne Sjaastad
8dc04d00e1 Add missing update of curve legend text 2022-09-15 08:19:41 +02:00
Jon Jenssen
bbb8185a24 Allow opening summary plot editor from context menu when multiple cases are selected in data sources 2022-09-15 08:19:41 +02:00
jonjenssen
22696beed8 Remove unused code (#9290) 2022-09-15 08:19:41 +02:00
jonjenssen
572d46272e Summary Plot Editor: Context menu update (#9289)
* Summary plot editor context menu update
2022-09-15 08:19:41 +02:00
Magne Sjaastad
5eccff93c9 Fix typo for StimPlanFileName keyword 2022-09-15 08:19:41 +02:00
Magne Sjaastad
333cac84a6 Bump version info to RC03 2022-09-15 08:19:41 +02:00
Magne Sjaastad
d1a8de0aa8 Improve user interface for axis linking
Several adjustments to UI as discussed with Håkon and Alireza.

* add link/unlink command to right-click menu of axis
* select curve in project tree when clicking on legend item
* make sure internal legend is always visible when toggling plot
* fix issue when using sub plot as data source for axis range
2022-09-15 08:19:41 +02:00
Kristian Bendiksen
2e5626941d #9281 Analysis Plot: fix ensemble data source selection.
Fixes #9281.
2022-09-15 08:19:41 +02:00
Magne Sjaastad
437f26698d Issues related to user course
* #9277 Observed Data : Assign case ID when importing observed data
If no case ID is assigned, the first observed case is always used when creating new plots of observed data

* #9278 Match on summary vector name when curve unit text is missing
2022-09-15 08:19:41 +02:00
Kristian Bendiksen
b0a959c591 #9280 Fix missing horizontal error bars
* #9280 Fix missing horizontal error bars.
The x axis was not assigned properly for the error bars in the plot curve.
* Propagate error bar visibility state
2022-09-15 08:19:41 +02:00
Magne Sjaastad
a8fbb4f70e Fix missing update of export well name 2022-09-15 08:19:41 +02:00
Magne Sjaastad
129c4a0e34 Unit test to export xyz coordinates for N timesteps for a thermal fracture 2022-09-15 08:19:41 +02:00
Magne Sjaastad
e1dda4c6b3 Adjustments for RC2
* Add dependency to Svg
* Renaming
* Remove special handling of bright colored curves
For some ensemble cases, the curve highlight does not work well. A prototype for ensemble curve highlight was introduced, but this was not working for a collection of standalone summary curves.
* Set version to RC_02
2022-09-15 08:19:41 +02:00
jonjenssen
5014d7ddf7 Highlight the curve belonging to the legend you click on. (#9259)
* Highlight the curve belonging to the legend you click on.
* Make sure legend curve order remains the same when changing hilited curve
2022-09-15 08:19:41 +02:00
Kristian Bendiksen
a8b3ddc757 Thermal Fracture: rotate and place fracture according to template data. 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
78464b772f #9100 Thermal Fracture: add action to place using template data 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
803c9505b9 Thermal Fracture: fix incorrect weighting when interpolating. 2022-09-15 08:19:41 +02:00
Magne Sjaastad
54ac7568cb Set version to RC_01 2022-09-15 08:19:41 +02:00
Magne Sjaastad
72c070c3a9 Use field auto values for summary plots
Use auto value concept in summary plot configuration. Default behavior is unchanged, but it is now possible to unlink a field to specify a custom value for this field.

Other changes:
* Add missing requirement for Svg in test application
* Use calculator icon and rename panel text
Use icon and relevant text to make it clear that the content in Calculator Data can be used for Grid Property Calculator and nothing else.
* Add example with scoped enum and auto value
* Use enum value starting av 10 to make sure enum values (not option item index) are working as expected
2022-09-15 08:19:41 +02:00
Magne Sjaastad
69cc36b3bc Add framework support for editor auto values
Add support for a field to be linked to a value updated by code outside the object itself. Mark the linked field by using a background color and icons for linked/unlinked state.
The auto value states is set as attributes in the project xml file. 
Add reference implementation in cafTestApplication, see Fwk/AppFwk/cafTests/cafTestApplication/MainWindow.cpp

* Tree View Editor: Avoid sending notification if selection is unchanged
* Use std++17 in test solution
* Move icons to icon factory
* add support for creating QIcon from SVG text string
2022-09-15 08:19:41 +02:00
Magne Sjaastad
b2db9a66a7 Scale length threshold based on average DZ 2022-09-15 08:19:41 +02:00
Magne Sjaastad
8e627e46a3 Improve error message when grid dimensions are not matching 2022-09-15 08:19:41 +02:00
jonjenssen
1467c54aad Refresh data source tree when a grid calculation is updated (#9255) 2022-09-15 08:19:41 +02:00
Magne Sjaastad
edaaf4242a #9260 Guard pointer access and update tree view when plot is created
Guard access to plot curve
Update tree view when object is created
Use zoomAll to update x value range
2022-09-15 08:19:41 +02:00
Magne Sjaastad
723e047365 Fix some smaller issues
* #9253 Well allocation plot: Keep checked state of curves when changing time step
* #9254 Guard pointer when clicking on linked time axis icon
* #9250 Cross Plot : Ensure summary case change update both x and y data sources
2022-09-15 08:19:41 +02:00
Jon Jenssen
f979aeba23 Make sure curve legends are shown in same order as the curve items in the explorer when moving them up/down 2022-09-15 08:19:41 +02:00
Magne Sjaastad
d806c5225b #9251 Cell Edge : Add more tests on valid cell edge result 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
fe62fb76ff #9233 Correction Report Plot: disable axes alignment for better spacing.
Regression introduced in 71d18b9e76.
2022-09-15 08:19:41 +02:00
Kristian Bendiksen
1f8cc7f477 #9233 Fix regression in correlation plot
Introduced in be236cb.
2022-09-15 08:19:41 +02:00
Magne Sjaastad
43e38d8aff Remove unused members and remove includes 2022-09-15 08:19:41 +02:00
Magne Sjaastad
6fb376156a Add multiple selected cell edge results 2022-09-15 08:19:41 +02:00
Kristian Bendiksen
a09e17d14a #9104 Thermal Fracture: Handle offset and scaling. 2022-09-15 08:19:41 +02:00