-
Notifications
You must be signed in to change notification settings - Fork 1
Create package-global ACSVSettings
class
#21
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
Conversation
CC @smelczer @turnip314, this is my suggestion for a global output configuration. In short, currently:
... and Comments are welcome! (This also fixes a bunch of the doctests; one of them appears to be still broken though, might be a bug on the |
That looks good to me (and I like I suppose we can do the same thing for |
Looks good to me too. For some reason I can't see the doctest results. The little green/red icon beside each commit stopped appearing a while ago... One of the doctests that might be failing is for the Whitney Stratification, since I notice you didn't make any modifications to that file. |
I've reworked my original proposal to create a single source of truth (the If you are still okay with this, I'd also like to move the logger verbosity ( It would also be a sort of natural place where the Macaulay2 interface could be configured ( |
ACSVSettings
class
I think it would be better to remove the |
I agree with @turnip314 |
Great, I like this as well! One thing that I am not sure about yet: currently there are two choices for the Gröbner basis computation in Should these be two separate config options ( |
Eventually we will probably want one backend, but for now we can just do what's easiest. |
This implements a new mechanism for
OutputFormat
which can be used to set a global default.If you like this sort of interface, we should also (a) expose
OutputFormat
to the top-level import (sofrom sage_acsv import OutputFormat
works) and (b) perhaps think about renamingOutputFormat
to signify that this is something belonging to our package -- perhapsACSVFormat
or so ...