Skip to content

Commit

Permalink
add a useful error message
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyjmurray committed May 28, 2024
1 parent 6ae7826 commit 6112c76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pygsti/protocols/gst.py
Original file line number Diff line number Diff line change
Expand Up @@ -2651,6 +2651,8 @@ def _compute_wildcard_budget(objfn_cache, mdc_objfn, parameters, badfit_options,
**method_options)
elif method_name == "none":
pass
elif method_name in ("cvxopt", "cvxopt_smoothed", "cvxopt_small"):
raise ValueError(f"Support for {method_name} was removed in pyGSTi release 0.9.13.")
else:
raise ValueError("Invalid wildcard method name: %s" % method_name)

Expand Down

0 comments on commit 6112c76

Please sign in to comment.