-
Notifications
You must be signed in to change notification settings - Fork 15
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
Incompatible license with STEPS future goals #96
Comments
Hi @iahepburn, happy to hear you find this library useful for your works. Funnily enough, there was a very similar request from a different group looking to combine this library with their own works. This resulted in a change of the development version of overlap to the MIT license (see #92). While it might still take some time for me to implement and integrate all the changes I would like to see for an official 0.2 release, the library itself is in a quite robust state. Is the MIT license compatible with your plans? |
Thank you very much for your reply @severinstrobl |
@tristan0x: Please excuse the delayed response. I don't expect further changes to the public API for the 0.2 release, so basing your work on the current develop version should make the switch to the 0.2 release trivial. |
Dear @severinstrobl , Thank you for the MIT license branch. We have already integrated this into STEPS and this is very helpful for us. However, we have noticed an occasional accuracy issue at small length scales. We typically operate at nm scales and the absolute volume overlap can be order 1e-25 or so. At these scales the overlap calculation sometimes fails (the previous library didn't have this issue). I can give one example in code:
This calculation gives negative overlap. We have tracked it down to the calculation of the normal vector using Newell's method: overlap/include/overlap/overlap.hpp Line 67 in 351d479
|
Hi @iahepburn, indeed you found a regression introduced in the development version of the library. The problem is not the initial scale of the sphere/tetrahedron, before processing a scaling of all coordinates resulting in a unit sphere centered at the origin is performed. Nevertheless, you are absolutely correct about the problem in the normal calculation you identified. I'm surprised this did not break any of the existing test cases. |
When examining the length of the normal vector obtained using Newell's method prior to the actual normalization, the length scale has to be taken into account. Fixes: #96
When examining the length of the normal vector obtained using Newell's method prior to the actual normalization, the length scale has to be taken into account. Fixes: #96
When examining the length of the normal vector obtained using Newell's method prior to the actual normalization, the length scale has to be taken into account. Fixes: #96
Hi @iahepburn, I merged the fix from #98 into the development branch, could you give this version a try? |
Thank you @severinstrobl for this quick fix. Yes, all seems to be working well now. I think we can close the issue. |
Dear @severinstrobl ,
Firstly, thank you for this awesome overlap library which we use in the STEPS project (https://github.com/CNS-OIST/STEPS), specifically for calculating overlap between simulated vesicles and our tetrahedral meshes, as described in: https://www.nature.com/articles/s42003-024-06276-5
When including your project under the GPL this means that STEPS also has to be released under GPL, as it is currently. However, this is incompatible with future plans of STEPS, which include being released as open source software for neural simulation by the Blue Brain Project (https://www.epfl.ch/research/domains/bluebrain/) or its successor. Blue Brain project developer https://github.com/tristan0x will be able to provide more details on these goals.
So, this is quite an issue for us because we rely on your library yet with no license change we wouldn't be able to use it in the future and would have to come up with an alternative. By far our preference is to continue using your library, which would however require a change of license. So I just wanted to open this discussion and ask, would you be open in principle to potentially changing the license for the overlap library to one that is compatible with our future plans? We will provide more details on our plans, and can put forward licenses that would be compatible for us for your consideration if so. Thank you.
The text was updated successfully, but these errors were encountered: