From 8dd58eeaf1a561884033f3dfb977ded0b518c637 Mon Sep 17 00:00:00 2001
From: Ansgar Philippsen <ansgar.philippsen@gmail.com>
Date: Thu, 16 Jun 2011 16:10:27 -0400
Subject: [PATCH] fixed missing GetCentralAtom export for residue

---
 modules/mol/base/pymod/export_residue.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/mol/base/pymod/export_residue.cc b/modules/mol/base/pymod/export_residue.cc
index 12869d2e7..127de00e2 100644
--- a/modules/mol/base/pymod/export_residue.cc
+++ b/modules/mol/base/pymod/export_residue.cc
@@ -185,6 +185,7 @@ void export_Residue()
     .def("GetCenterOfMass", &ResidueHandle::GetCenterOfMass)
     .def("GetCenterOfAtoms", &ResidueHandle::GetCenterOfAtoms)
     .def("GetGeometricCenter", geom_center<ResidueHandle>)
+    .def("GetCentralAtom", &ResidueHandle::GetCentralAtom)
     .add_property("mass", &ResidueHandle::GetMass)
     .add_property("center_of_mass", &ResidueHandle::GetCenterOfMass)
     .add_property("center_of_atoms", &ResidueHandle::GetCenterOfAtoms)  
-- 
GitLab