Skip to content

Commit

Permalink
changing interfaces line 535 to include observables
Browse files Browse the repository at this point in the history
  • Loading branch information
sabinala committed Aug 23, 2024
1 parent f5c5bec commit 07a2bb6
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 @@ -532,7 +532,7 @@ def wrapped_model():

risk_results = {}
for k, vals in samples.items():
if "_state" in k:
if "_state" in k or "_observable" in k:
# 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 07a2bb6

Please sign in to comment.