qiskit-community / qiskit-metal

Quantum Hardware Design. Open-source project for engineers and scientists to design superconducting quantum devices with ease.
https://qiskit-community.github.io/qiskit-metal/
Apache License 2.0
283 stars 209 forks source link

Display option name and option value of failed runs in the Sweeper class' `run_sweep` method #909

Closed jagandecapri closed 1 year ago

jagandecapri commented 1 year ago

What are the issues this pull addresses (issue numbers / links)?

Fixes #907

Did you add tests to cover your changes (yes/no)?

No. I'm not sure how to add test cases for this particular case.

Did you update the documentation accordingly (yes/no)?

No.

Did you read the CONTRIBUTING document (yes/no)?

Yes.

Summary

Currently, when a run fails during the execution of Sweeper class' run_sweep method, the warning message, does not tell which option name or option value that failed.

It will be useful to add which option name + option value (key) combination thatdidn't execute properly for reference in case the user wantst to run the sweeperagain for the failed option values

This commit adds the option name and option value that failed to the warning message.

Details and comments