-
-
Notifications
You must be signed in to change notification settings - Fork 454
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
nauty_geng is naughty #14068
Comments
Author: David Coudert |
comment:5
A possible fix is to raise an error only when parameter debug is False and that something goes wrong. When debug is True, the behavior remains the same as before and so we continue to display the message output by geng in stderr. New commits:
|
Branch: public/graphs/14068_nauty |
Commit: |
comment:6
I don't understand the reported pyflakes error with |
comment:8
Replying to @dcoudert:
perhaps pyflakes is confused by
by the way, I don't understand why it's not written as
Is it cause this code pre-dates |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:10
OK, otherwise looks good. let's see if this commit makes pyflakes happy |
comment:11
pyflakes is now happy ! |
Changed author from David Coudert to David Coudert, Dima Pasechnik |
Reviewer: Dima Pasechnik |
This comment has been minimized.
This comment has been minimized.
comment:13
moving milestone to 9.0 (after release of 8.9) |
Changed branch from public/graphs/14068_nauty to |
I think nauty_geng should not ignore geng's return value and return an exception if the returned value is not 0. Consider the following:
the code appears to be just fine but it has a bug! Namely it tries to run the program geng with the parameter "-cn" instead of "-c n". Hence geng returns an error and instead of getting an error in Sage, it simply does not generate any graphs.
The branch implements the catching of geng's error.
We also clean up the code of graph_generators a bit.
CC: @dimpase
Component: graph theory
Author: David Coudert, Dima Pasechnik
Branch/Commit:
93edfb0
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/14068
The text was updated successfully, but these errors were encountered: