-
-
Notifications
You must be signed in to change notification settings - Fork 623
Add LINS to gap_packages #39783
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
Add LINS to gap_packages #39783
Conversation
Documentation preview for this PR (built with commit 6169d51; changes) is ready! 🎉 |
independent package can be built in parallel. With GAP packages interdependencies, one has to be more careful |
Thanks, should the label be changed? |
yes, please change the label |
Is there a reason for removing the positive review label? |
this happens automatically after a git push |
sagemathgh-39783: Add LINS to gap_packages <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> There is a new package gap package [LINS](https://github.com/gap- packages/LINS) and the goal of this PR is to add it to `gap_packages`. There is another change (which is not essential): allow parallel computation, at least of each package. I wonder also if it would be interesting to add more packages, they are loaded only if needed. I encountered an unsolved problem. I can use the package function `LowIndexNormalSubs` using `libgap.function_factory`. There are two entries: a group and a positive integer and the output is the list of all normal subgroups with index bounded by the integer if the option `allSubgroups` is `true` (default value); if `false`, only the subgroups with exact index are obtained and if it is the goal, it is much faster than obtaining the whole list and filtering. But I do not know how to pass an option using `function_factory`, and I do not know how to pass the group using `libgap_eval`. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [X] The title is concise and informative. - [X] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#39783 Reported by: Enrique Manuel Artal Bartolo Reviewer(s): Dima Pasechnik
sagemathgh-39783: Add LINS to gap_packages <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> There is a new package gap package [LINS](https://github.com/gap- packages/LINS) and the goal of this PR is to add it to `gap_packages`. There is another change (which is not essential): allow parallel computation, at least of each package. I wonder also if it would be interesting to add more packages, they are loaded only if needed. I encountered an unsolved problem. I can use the package function `LowIndexNormalSubs` using `libgap.function_factory`. There are two entries: a group and a positive integer and the output is the list of all normal subgroups with index bounded by the integer if the option `allSubgroups` is `true` (default value); if `false`, only the subgroups with exact index are obtained and if it is the goal, it is much faster than obtaining the whole list and filtering. But I do not know how to pass an option using `function_factory`, and I do not know how to pass the group using `libgap_eval`. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [X] The title is concise and informative. - [X] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#39783 Reported by: Enrique Manuel Artal Bartolo Reviewer(s): Dima Pasechnik
is the sage-devel message
relevant here? |
I think not directly. Till now I was unable to pass the option to this function in sage. I think it is not bad to have predefined sage functions for functions in gap, but I am not sure neither which ones nor how. Maybe it could be addressed in another PR. |
in a way, pre-defined GAP functions are there. You can see this used quite a bit in e.g. Thus, I am not sure what exactly you are missing. |
This contribution added two files
|
@enriqueartal - where these Pipfiles added by you here a mistake? |
It is a mistake. I sincerely do not know why they are there. Since it is closed, should I do something? |
@enriqueartal open a PR which removes them, I'll approve it straight away |
Done, I hope correctly. Sorry for the inconvenience |
<!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> A couple of Pipfile's were added by mistake in the branch of sagemath#39783. They are removed here. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [X] The title is concise and informative. - [X] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#40044 Reported by: Enrique Manuel Artal Bartolo Reviewer(s): Dima Pasechnik
<!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> A couple of Pipfile's were added by mistake in the branch of sagemath#39783. They are removed here. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [X] The title is concise and informative. - [X] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#40044 Reported by: Enrique Manuel Artal Bartolo Reviewer(s): Dima Pasechnik
sagemathgh-40044: Remove Pipfiles <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> A couple of Pipfile's were added by mistake in the branch of sagemath#39783. They are removed here. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [X] The title is concise and informative. - [X] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#40044 Reported by: Enrique Manuel Artal Bartolo Reviewer(s): Dima Pasechnik
sagemathgh-40044: Remove Pipfiles <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> A couple of Pipfile's were added by mistake in the branch of sagemath#39783. They are removed here. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [X] The title is concise and informative. - [X] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#40044 Reported by: Enrique Manuel Artal Bartolo Reviewer(s): Dima Pasechnik
There is a new package gap package LINS and the goal of this PR is to add it to
gap_packages
. There is another change (which is not essential): allow parallel computation, at least of each package. I wonder also if it would be interesting to add more packages, they are loaded only if needed.I encountered an unsolved problem. I can use the package function
LowIndexNormalSubs
usinglibgap.function_factory
. There are two entries: a group and a positive integer and the output is the list of all normal subgroups with index bounded by the integer if the optionallSubgroups
istrue
(default value); iffalse
, only the subgroups with exact index are obtained and if it is the goal, it is much faster than obtaining the whole list and filtering. But I do not know how to pass an option usingfunction_factory
, and I do not know how to pass the group usinglibgap_eval
.📝 Checklist
⌛ Dependencies