From 9f307d738b1954b5a750228313c38acc2bb9f51e Mon Sep 17 00:00:00 2001
From: Xavier Robin <xavalias-github@xavier.robin.name>
Date: Tue, 4 Oct 2022 11:39:04 +0200
Subject: [PATCH] reorder/group related definitions

---
 modules/mol/base/pymod/export_atom_view.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/mol/base/pymod/export_atom_view.cc b/modules/mol/base/pymod/export_atom_view.cc
index 5af079a44..f4279bd58 100644
--- a/modules/mol/base/pymod/export_atom_view.cc
+++ b/modules/mol/base/pymod/export_atom_view.cc
@@ -43,16 +43,16 @@ void export_AtomView()
     .add_property("chain",get_chain)
     .def(self==self)
     .def(self!=self)
-    .add_property("handle", &AtomView::GetHandle)
     .def("RemoveBonds", &AtomView::RemoveBonds)
     .def("GetHandle", &AtomView::GetHandle)
+    .add_property("handle", &AtomView::GetHandle)
     .def("GetBondCount", &AtomView::GetBondCount)
-    .add_property("valid", &AtomView::IsValid)    
     .def("GetBondList", &AtomView::GetBondList)
     .def("GetHashCode", &AtomView::GetHashCode)
-    .def("IsValid", &AtomView::IsValid)
     .def("__hash__", &AtomView::GetHashCode)
     .add_property("hash_code", &AtomView::GetHashCode)
+    .def("IsValid", &AtomView::IsValid)
+    .add_property("valid", &AtomView::IsValid)
     .def("GetBondPartners", &AtomView::GetBondPartners)
   ;
   class_<AtomViewList>("AtomViewList", init<>())
-- 
GitLab