vgteam / libhandlegraph

Library for the Handle Graph abstraction
MIT License
20 stars 3 forks source link

Fix bug in unchop #69

Closed jeizenga closed 3 years ago

jeizenga commented 3 years ago

We were not appropriately handling runs of nodes that had self-loops. The new unchopped node handles were being used to remove edges on the chopped nodes. This PR pushes that logic into the destroy_handle method, which should handle edges already anyway.