• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 10296040200

08 Aug 2024 03:50AM UTC coverage: 89.948% (+0.001%) from 89.947%
10296040200

push

github

web-flow
Fix dag visualization with Var wires (#12848) (#12923)

* Fix dag visualization with Var wires

This commit fixes the dag visualization for DAGs with classical
variables. The Var type was not handled in the attribute callback
functions for nodes and edges. This was causing the visualizer to fail
if the dag contained these types. This fixes this by adding explict
handling for the Var types and using the name attribute of the Var
object.

* Add release note and test

(cherry picked from commit adbe88707)

Co-authored-by: Matthew Treinish <mtreinish@kortar.org>

0 of 6 new or added lines in 1 file covered. (0.0%)

14 existing lines in 3 files now uncovered.

61856 of 68769 relevant lines covered (89.95%)

232725.45 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

9.65
/qiskit/visualization/dag_visualization.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc