Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove excess check_response call in std_dev_for_parameter
Browse files Browse the repository at this point in the history
The `std_dev_for_parameter` method manually checks if the response's status_code is
200 OK and decides what to do if it is not. Calling the `check_response`
method raises an exception if it is not 200 OK, which is a valid
response in this case.
jonathan-eq committed Sep 10, 2024
1 parent e0e9d97 commit 7fdb45a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ert/gui/tools/plot/plot_api.py
Original file line number Diff line number Diff line change
@@ -265,7 +265,6 @@ def std_dev_for_parameter(
params={"z": z},
timeout=self._timeout,
)
self._check_response(response)

if response.status_code == 200:
# Deserialize the numpy array

0 comments on commit 7fdb45a

Please sign in to comment.