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

Qiskit / retworkx / 826 / 3
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 09 Sep 2020 06:59PM UTC
Files 8
Run time 19s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Sep 2020 06:56PM UTC coverage: 92.093% (+0.1%) from 91.981%
826.3

push

travis-ci-com

web-flow
Add remove_node_retain_edges method to PyDiGraph (#134)

* Add remove_node_retain_edges method to graph classes

This commit adds a new method remove_node_retain_edges() which is used
to remove a node but add edges from all predecessors to all descendants.

* Update src/digraph.rs

Co-authored-by: Kevin Krsulich <kevin@krsulich.net>

* Add options to choose which edge data to use and conditionally retain edges

* Remove PyGraph implementation

The PyGraph implementation is a bit more involved since there is no
directionality to the edges. The implementation initially added didn't
take this into account and was basically just a copy of the PyDiGraph
implementation. But this was invalid and instead of adding a single edge
between each neighbor it would add 2 edges one with the weight for the
edge between the removed node and the neighbor. Since there is no
pressing use case for this on an undirected graph this commit just
removes the implementation, if a need arises in the future we can
revisit writing the implementation.

Co-authored-by: Kevin Krsulich <kevin@krsulich.net>

1782 of 1935 relevant lines covered (92.09%)

2424.36 hits per line

Source Files on job 826.3
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 353
  • Travis Job 826.3
  • dc18f928 on github
  • Prev Job for on master (#815.3)
  • Next Job for on master (#829.3)
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