Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in the plotter if there is no valid fitter error #1413

Open
dcmckayibm opened this issue Feb 18, 2024 · 0 comments · May be fixed by #1416
Open

Error in the plotter if there is no valid fitter error #1413

dcmckayibm opened this issue Feb 18, 2024 · 0 comments · May be fixed by #1416
Assignees
Labels
bug Something isn't working

Comments

@dcmckayibm
Copy link
Collaborator

Informations

  • Qiskit Experiments version:
  • Python version:
  • Operating system:

What is the current behavior?

Error in line 159 of curve_plotter if y_interp_err is not a float.

I fixed this locally with
if type(y_interp_err) is not float: y_interp_err = 0

however, not sure that's the best way to do this... because there should be some awareness that the interp_err is not getting calculated right

Steps to reproduce the problem

Try to fit a curve to some absurd data

What is the expected behavior?

Suggested solutions

@dcmckayibm dcmckayibm added the bug Something isn't working label Feb 18, 2024
@nkanazawa1989 nkanazawa1989 self-assigned this Feb 19, 2024
@nkanazawa1989 nkanazawa1989 linked a pull request Feb 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants