From 7fb7086eff63fd344329470706bff0d255b03809 Mon Sep 17 00:00:00 2001 From: Niklaus Johner <nij2003@med.cornell.edu> Date: Fri, 18 May 2012 15:10:10 -0400 Subject: [PATCH] Corrected the export for SuperposeFrames. There was a conflict between the two C++ functions associated when it was called with just one entity as SuperposeFrames(t,eh). --- modules/mol/alg/pymod/wrap_mol_alg.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/mol/alg/pymod/wrap_mol_alg.cc b/modules/mol/alg/pymod/wrap_mol_alg.cc index 20a78f90e..c7c3e1c3b 100644 --- a/modules/mol/alg/pymod/wrap_mol_alg.cc +++ b/modules/mol/alg/pymod/wrap_mol_alg.cc @@ -95,8 +95,7 @@ BOOST_PYTHON_MODULE(_ost_mol_alg) (arg("source"), arg("sel")=ost::mol::EntityView(), arg("begin")=0, arg("end")=-1, arg("ref")=-1)); def("SuperposeFrames", superpose_frames2, - (arg("source"), arg("sel")=ost::mol::EntityView(), arg("ref_view")=ost::mol::EntityView(),arg("begin")=0, - arg("end")=-1)); + (arg("source"), arg("sel"), arg("ref_view"),arg("begin")=0, arg("end")=-1)); class_<mol::alg::ClashingDistances> ("ClashingDistances" ,init<Real,Real>()) -- GitLab