Skip to content

Commit

Permalink
python: add rename_chain and rename_residues
Browse files Browse the repository at this point in the history
  • Loading branch information
keitaroyam authored Aug 28, 2024
1 parent fb325eb commit b0bf3df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/mol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ void add_mol(py::module& m) {
.def("standardize_crystal_frame", &standardize_crystal_frame)
.def("assign_serial_numbers", (void (*)(Structure&, bool)) &assign_serial_numbers,
py::arg("numbered_ter")=false)
.def("rename_chain", &rename_chain)
.def("rename_residues", &rename_residues)
// assembly.hpp
.def("shorten_chain_names", &shorten_chain_names)
.def("expand_ncs", &expand_ncs, py::arg("how"), py::arg("merge_dist")=0.2)
Expand Down

0 comments on commit b0bf3df

Please sign in to comment.