Skip to content

Commit

Permalink
Print parameter group dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Blunde1 committed Mar 14, 2024
1 parent 2a451b8 commit 3e2e57b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ert/analysis/_es_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def __setitem__(
) -> None:
old_value = self.data.get(key)
if isinstance(old_value, xr.DataArray):
print(f"Parameter group {key} has shape {old_value.shape}")
old_value.data = value.T.reshape(*old_value.shape)
self.data[key] = old_value
else:
Expand Down

0 comments on commit 3e2e57b

Please sign in to comment.