qiskit-metal icon indicating copy to clipboard operation
qiskit-metal copied to clipboard

Exception raised when qdarkstyle is not installed

Open wshanks opened this issue 4 years ago • 1 comments

It looks like this code is intended to make qdarkstyle optional by catching the import error exception, but then it calls qdarkstyle.load_stylesheet() any way:

https://github.com/Qiskit/qiskit-metal/blob/171fa3c0fa5309c89ad6b93ef21f3dd9c6eeb758/qiskit_metal/_gui/main_window_base.py#L525-L535

wshanks avatar Jan 28 '21 19:01 wshanks

Maybe @dwang429 or @grace-harper-ibm can handle this? just default stylesheet. Actually, I think the default should now be the custom one i wrote based on qdarkstyle.

zlatko-minev avatar Jan 28 '21 20:01 zlatko-minev

qdarkstyle is a dependency which now is within environment.yml.

We an close this.

priti-ashvin-shah-ibm avatar Feb 01 '23 17:02 priti-ashvin-shah-ibm