-
Notifications
You must be signed in to change notification settings - Fork 127
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
If experiment_data.save() fails it should raise an exception #1134
Comments
Users don't typically call |
(If you want another use case, run_qe will return with an exit code that indicates success, even if save() fails.) |
I agree; no reason not to raise an error here if we already have the (new) |
I put in a fix for this in #1278. Note that if you were calling So the new fix is only for the case when someone calls |
https://github.com/Qiskit/qiskit-experiments/blob/049436a3d184adb51bb559316483cd44f1e2c925/qiskit_experiments/framework/experiment_data.py#L1339
Here; if you hit this condition the experiment data is not saved, but the function returns as if it had saved. In the context of, for example launching a bunch of experiments from a loop, this could cause a user to lose a lot of data. (or am I missing something here?)
The text was updated successfully, but these errors were encountered: