Skip to content

Commit

Permalink
update_old_atom_names was not passed b728fb0
Browse files Browse the repository at this point in the history
  • Loading branch information
keitaroyam committed Dec 9, 2023
1 parent 3656218 commit b8ba5a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/gemmi/topo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ GEMMI_DLL std::unique_ptr<Topo>
prepare_topology(Structure& st, MonLib& monlib, size_t model_index,
HydrogenChange h_change, bool reorder,
std::ostream* warnings=nullptr, bool ignore_unknown_links=false,
bool use_cispeps=false, bool update_all_atom_names=false);
bool use_cispeps=false, bool update_old_atom_names=false);


GEMMI_DLL std::unique_ptr<ChemComp> make_chemcomp_with_restraints(const Residue& res);
Expand Down
3 changes: 2 additions & 1 deletion python/topo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ void add_topo(py::module& m) {
warnings = &os;
}
return prepare_topology(st, monlib, model_index, h_change, reorder,
warnings, ignore_unknown_links, use_cispeps);
warnings, ignore_unknown_links, use_cispeps,
update_old_atom_names);
}, py::arg("st"), py::arg("monlib"), py::arg("model_index")=0,
py::arg("h_change")=HydrogenChange::NoChange, py::arg("reorder")=false,
py::arg("warnings")=py::none(), py::arg("ignore_unknown_links")=false,
Expand Down

0 comments on commit b8ba5a5

Please sign in to comment.