Skip to content

Commit

Permalink
fix broken samplers in XY plot
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTOMATIC1111 committed Oct 9, 2022
1 parent e6e8cab commit 2c52f4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/xy_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ def process_axis(opt, vals):

# Confirm options are valid before starting
if opt.label == "Sampler":
samplers_dict = build_samplers_dict(p)
for sampler_val in valslist:
if sampler_val.lower() not in samplers_dict.keys():
raise RuntimeError(f"Unknown sampler: {sampler_val}")
Expand Down

0 comments on commit 2c52f4d

Please sign in to comment.