pyvoro
pyvoro copied to clipboard
Feature/python3 -- resurrecting @wackywendell's python 3 support branch.
A little while ago @wackywendell kindly made a couple of small changes for python three support and added some unit tests.
Here, I am finally adding these to the main repo. Will keep this as a PR while I check over the unit tests and code coverage.
coverage gaps:
- numpy array inputs
- periodic boundary conditions
- with/without radii
- trigger voro++ error "number of cells not equal to the number of input particles" (I think this is triggered when a particle is on one of the walls, or outside the bounds?)
Also, noticed that the Cython function has mutable arg defaults. It doesn't mutate them, but this should be fixed anyway.