Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inverse_graph.py needs to be updated #22

Open
LaserTron opened this issue Aug 8, 2024 · 1 comment · May be fixed by #23
Open

inverse_graph.py needs to be updated #22

LaserTron opened this issue Aug 8, 2024 · 1 comment · May be fixed by #23

Comments

@LaserTron
Copy link

LaserTron commented Aug 8, 2024

Package broken due to updates in SageMath

from train_track import *
a=FreeGroupAutomorphism('a->bCb,b->Bc,c->BcBa')
G=a.train_track()
>>> (...) ImportError: cannot import name 'DiGraph' from 'sage.graphs.graph' (/usr/lib/python3.12/site-packages/sage/graphs/graph.py)

This can be fixed by replacing line 32 in inverse_graph.py with
from sage.graphs.digraph import DiGraph

@videlec
Copy link
Collaborator

videlec commented Aug 9, 2024

More precisely, this was modified by PR #36736.

@videlec videlec linked a pull request Aug 9, 2024 that will close this issue
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 a pull request may close this issue.

2 participants