Skip to content

Commit

Permalink
Update snapshot data for test_methods.py
Browse files Browse the repository at this point in the history
Minor edits in local_script_lib.py
  • Loading branch information
oddvarlia committed Dec 19, 2023
1 parent 148f9d1 commit 329fef7
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 70 deletions.
3 changes: 0 additions & 3 deletions semeio/workflows/localisation/local_script_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ def write_qc_parameter_field(
log_level=LogLevel.OFF,
):
# pylint: disable=too-many-arguments

if param_for_field is None or field_scale is None:
return

Expand Down Expand Up @@ -309,7 +308,6 @@ def write_qc_parameter_surface(
cls.scaling_param_number = cls.scaling_param_number + 1



def get_param_from_ert(ens_config):
new_params = Parameters()
for key in ens_config.parameters:
Expand Down Expand Up @@ -1130,4 +1128,3 @@ def check_if_ref_point_in_grid(ref_point, grid, log_level):
LogLevel.LEVEL3,
log_level,
)

Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[0. 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0.
0. 0. 0. 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0.
0. 0. 0. 0. 0. 0. 1. 1. 1. 0.2 0.2 0.2 0.2 0.2 0.5 0.5 0.5 0.5
0.5 0.2 0.2 0.2 0.2 0.2 0.5 0.5 0.5 0.5 0.5 0.2 0.2 0.2 0.2 0.2 0.5 0.5
0.5 0.5 0.5 0. 0. 0. 0. 0. 0.5 0.5 0.5 0.5 0.5 0. 0. 0. 0. 0.
0.5 0.5 0.5 0.5 0.5 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0.
0. 0. 0. 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. 0. 1. 1. 1. 0.
0. 0. 0. 0. 0. 0. 1. 1. 1. 0. 0. 0. 0. 0. 0. 0. 1. 1.
1. 0.2 0.2 0.2 0.2 0.2 0.5 0.5 0.5 0.5 0.5 0.2 0.2 0.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78571427 0.8333333
0.675 0.47142857 0.2 0.2 0.2 0.2
0.5 0.5714286 0.625 0.6666667 0.51111114 0.35555556
0.2 0.2 0.2 0.2 0.5 0.5
0.5 0.5 0.425 0.32857144 0.2 0.2
0.2 0.2 0.5 0.5 0.5 0.5
0.45714286 0. 0. 0. 0. 0.
0.5 0.5 0.5 0.5 0.5 0.
0. 0. 0. 0. 0.5 0.5
0.5 0.5 0.5 0. 0. 0.
0. 0. 0. 0. 1. 1.
1. 0. 0. 0. 0. 0.
0. 0. 1. 1. 1. 0.
0. 0. 0. 0. 0. 0.
1. 1. 1. 0. 0. 0.
0. 0. 0. 0. 1. 1.
0.8857143 0. 0. 0. 0. 0.
0. 0. 0.78571427 0.8333333 0.675 0.47142857
0.2 0.2 0.2 0.2 0.5 0.5714286
0.625 0.6666667 0.51111114 0.35555556 0.2 0.2
0.2 0.2 0.5 0.5 0.5 0.5
0.425 0.32857144 0.2 0.2 0.2 0.2
0.5 0.5 0.5 0.5 0.45714286 0.
0. 0. 0. 0. 0.5 0.5
0.5 0.5 0.5 0. 0. 0.
0. 0. 0.5 0.5 0.5 0.5
0.5 0. 0. 0. 0. 0. ]
[0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.
0. 0. 0. 0.5 0.5 0.5
0.5 0.5 0.5 0.5 0.5 0.5
0.5 0.5 0.5 0.5 0.5 0.5
0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.
0. 0. 0. 0.5714286 0.5714286 0.5714286
0.5 0.5 0.5 0.5 0.5 0.5
0.5 0.5 0.5 0.5 0.5 0.5
1. 1. 1. 1. 1. 1.
1. 1. 1. 1. 1. 1.
0.78571427 0.78571427 0.78571427 0.625 0.625 0.625
0.5 0.5 0.5 0.5 0.5 0.5
0.5 0.5 0.5 0.5 0.5 0.5
1. 1. 1. 1. 1. 1.
1. 1. 1. 1. 1. 1.
0.8333333 0.8333333 0.8333333 0.6666667 0.6666667 0.6666667
0.5 0.5 0.5 0.5 0.5 0.5
0.5 0.5 0.5 0.5 0.5 0.5
1. 1. 1. 1. 1. 1.
1. 1. 1. 0.8857143 0.8857143 0.8857143
0.675 0.675 0.675 0.51111114 0.51111114 0.51111114
0.425 0.425 0.425 0.45714286 0.45714286 0.45714286
0.5 0.5 0.5 0.5 0.5 0.5
0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.
0.47142857 0.47142857 0.47142857 0.35555556 0.35555556 0.35555556
0.32857144 0.32857144 0.32857144 0. 0. 0.
0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.
0.2 0.2 0.2 0.2 0.2 0.2
0.2 0.2 0.2 0. 0. 0.
0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.
0.2 0.2 0.2 0.2 0.2 0.2
0.2 0.2 0.2 0. 0. 0.
0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.
0.2 0.2 0.2 0.2 0.2 0.2
0.2 0.2 0.2 0. 0. 0.
0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.
0.2 0.2 0.2 0.2 0.2 0.2
0.2 0.2 0.2 0. 0. 0.
0. 0. 0. 0. 0. 0. ]

0 comments on commit 329fef7

Please sign in to comment.