From b1c6b4b078bc0c91c13fb5ebcd32d2f8de5df803 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Thu, 3 Jul 2025 11:42:24 +0200 Subject: [PATCH] pybind only 1 function for getRxROI --- python/src/detector.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python/src/detector.cpp b/python/src/detector.cpp index c11e61167..f9e3821d7 100644 --- a/python/src/detector.cpp +++ b/python/src/detector.cpp @@ -932,10 +932,7 @@ void init_det(py::module &m) { Detector::setRxArping, py::arg(), py::arg() = Positions{}); CppDetectorApi.def("getRxROI", - (std::vector(Detector::*)() const) & - Detector::getRxROI); - CppDetectorApi.def("getRxROI", - (std::vector(Detector::*)(int) const) & + (std::vector (Detector::*)(int) const) & Detector::getRxROI, py::arg()); CppDetectorApi.def("setRxROI",