Skip to content
Snippets Groups Projects
Commit aaaf8f9c authored by Bienchen's avatar Bienchen
Browse files

Export citation operators to Python

parent fb6c876a
Branches
Tags
No related merge requests found
......@@ -122,6 +122,8 @@ void export_mmcif_io()
.add_property("authors", make_function(&MMCifInfoCitation::GetAuthorList,
return_value_policy<copy_const_reference>()),
&MMCifInfoCitation::SetAuthorList)
.def("__eq__", &MMCifInfoCitation::operator==)
.def("__ne__", &MMCifInfoCitation::operator!=)
;
class_<std::vector<MMCifInfoCitation> >("MMCifInfoCitationList", init<>())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment