Skip to content

Commit

Permalink
Merge pull request #59 from jrsacher/master
Browse files Browse the repository at this point in the history
adding readPDB_distgrid to pygamer
  • Loading branch information
ctlee authored May 26, 2023
2 parents 8bef089 + 2996006 commit 726de48
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pygamer/src/pygamer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,21 @@ PYBIND11_MODULE(pygamer, pygamer) {
)delim"
);

pygamer.def("readPDB_distgrid", &readPDB_distgrid,
py::arg("filename"),
py::arg("radius") = 1.4,
R"delim(
Compute the Connolly surface using a distance grid based strategy
Args:
filename (:py:class:`str`): PDB file to read.
radius (:py:class:`float`): Radius in Angstroms of ball to roll over surface.
Returns:
:py:class:`surfacemesh.SurfaceMesh`: Meshed object.
)delim"
);

pygamer.def("readPDB_gauss", &readPDB_gauss,
py::arg("filename"),
py::arg("blobbyness") = -0.2,
Expand Down

0 comments on commit 726de48

Please sign in to comment.