Skip to content

Commit

Permalink
changing interfaces line 535 to include observables (#602)
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Witty <[email protected]>
  • Loading branch information
sabinala and SamWitty authored Aug 27, 2024
1 parent 5401b75 commit 059cbfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyciemss/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ def wrapped_model():

risk_results = {}
for k, vals in samples.items():
if "_state" in k:
if "_state" in k or "_observable" in k:
# Note: qoi is assumed to be the last day of simulation
qoi_sample = vals.detach().numpy()[:, -1]
sq_est = alpha_superquantile(qoi_sample, alpha=alpha)
Expand Down

0 comments on commit 059cbfb

Please sign in to comment.