From 274d6f790b298aea181943b5f2d2a18cd2404d1e Mon Sep 17 00:00:00 2001
From: Xavier Robin <xavalias-github@xavier.robin.name>
Date: Thu, 6 Jun 2024 14:23:51 +0200
Subject: [PATCH] fix: add getter and setter methods for struct_refs

---
 modules/io/pymod/export_mmcif_io.cc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/io/pymod/export_mmcif_io.cc b/modules/io/pymod/export_mmcif_io.cc
index ca7b1410a..f65daf603 100644
--- a/modules/io/pymod/export_mmcif_io.cc
+++ b/modules/io/pymod/export_mmcif_io.cc
@@ -525,6 +525,8 @@ void export_mmcif_io()
                                    return_value_policy<copy_const_reference>()))
     .def("SetStructDetails", &MMCifInfo::SetStructDetails)
     .def("GetStructDetails", &MMCifInfo::GetStructDetails)
+    .def("SetStructRefs", &MMCifInfo::SetStructRefs)
+    .def("GetStructRefs", &MMCifInfo::GetStructRefs)
     .def("SetObsoleteInfo", &MMCifInfo::SetObsoleteInfo)
     .def("GetObsoleteInfo", &MMCifInfo::GetObsoleteInfo)
     .def("AddMMCifPDBChainTr", &MMCifInfo::AddMMCifPDBChainTr)
-- 
GitLab