diff --git a/modules/mol/base/pymod/export_entity.cc b/modules/mol/base/pymod/export_entity.cc index e1e3ac4094f192223bf18349d7c371098d0a036b..ca9e439f3f3ffe67741c28b85f157cde87cbbc02 100644 --- a/modules/mol/base/pymod/export_entity.cc +++ b/modules/mol/base/pymod/export_entity.cc @@ -94,6 +94,12 @@ PyObject* get_pos1(EntityHandle& entity) { return get_pos2(entity,true); } + +bool less_index(const mol::AtomHandle& a1, const mol::AtomHandle& a2) +{ + return a1.GetIndex()<a2.GetIndex(); +} + #endif } // ns