Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuasn committed Nov 26, 2024
1 parent 12b3dc6 commit 190a262
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qiskit_ibm_runtime/visualization/draw_zne.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,8 @@ def _validate_metadata(metadata: dict) -> dict:
"""
if not (resilience := metadata.get("resilience")):
raise ValueError(
"Result does not contain resilience metadata. Enable ZNE options on an estimator to use this function."
"Result does not contain resilience metadata. Enable ZNE options on an estimator to use "
"this function."
)

if not (zne_metadata := resilience.get("zne")):
Expand Down

0 comments on commit 190a262

Please sign in to comment.