Skip to content

Fix NetworkX motif matching correctness - #157

Merged
j6k4m8 merged 3 commits into
masterfrom
fix/networkx-matching-correctness
Jul 25, 2026
Merged

Fix NetworkX motif matching correctness#157
j6k4m8 merged 3 commits into
masterfrom
fix/networkx-matching-correctness

Conversation

@j6k4m8

@j6k4m8 j6k4m8 commented Jul 25, 2026

Copy link
Copy Markdown
Member

A few NetworkX edge cases were doing the wrong thing (or just blowing up), so this cleans those up in one pass.

  • makes ignore_direction=True work with directed host graphs
  • keeps negative-only motifs from losing their node mappings
  • checks only the actual parallel edges for multigraph constraints
  • filters matches as they are produced and stops once the limit is reached

The CI matrix also drops Python 3.9 and now installs the locked dev environment instead of grabbing whatever the newest Ruff happens to be.

@j6k4m8
j6k4m8 merged commit ae2d431 into master Jul 25, 2026
6 checks passed
@j6k4m8
j6k4m8 deleted the fix/networkx-matching-correctness branch July 25, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant