-
Notifications
You must be signed in to change notification settings - Fork 46
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
Graph6 string fails to be read in #163
Comments
The string in question is
The 62nd character is a backslash
then I get the same problem as James. But if I run
using the
as the article in question suggests. If we read a file using I've added this whole thing to test-extreme in 2c69052, since it seems a nice use of |
Thanks @mtorpey. Is there anything we can do to make this more robust in the future? Does that mean reading in (normally) any string produced by |
Can |
In my opinion, this package shouldn't worry about this – if the user manages to create the correct string in GAP, then the algorithms in the package work on that string just fine. Probably most of the time we're reading and writing files anyway, in which this issue doesn't arise at all. In general, we might debate the way GAP should read strings between The most I might suggest would be adding a message somewhere in our doc pointing out that graph6 strings can include backslashes and to be careful typing them in – but I wonder how much use this would be. |
@mtorpey Thanks for the answer, I agree with you. |
@james-d-mitchell mentioned a problem in Issue #158. I now think it's unrelated to that issue, but it's definitely worth investigating.
He recently tried inputting the graph at:
https://math.stackexchange.com/questions/1561029/a-triangle-free-6-chromatic-graph-with-44-vertices
which claims to be in
graph6
format but gives the error:when he tries to read it into Digraphs.
I should be able to have a look at this next Wednesday, if not before.
The text was updated successfully, but these errors were encountered: