From fbb901c8ccf9120a50d0a894b4ba529982a1a442 Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Thu, 13 Feb 2020 12:18:53 +0100 Subject: [PATCH] WIP --- conda-recepie/meta.yaml | 5 +++++ python/src/detector.cpp | 2 ++ 2 files changed, 7 insertions(+) diff --git a/conda-recepie/meta.yaml b/conda-recepie/meta.yaml index 65c1148f7..91c3f8c63 100755 --- a/conda-recepie/meta.yaml +++ b/conda-recepie/meta.yaml @@ -8,6 +8,7 @@ source: build: number: 1 + binary_relocation: True rpaths: - lib/ @@ -71,12 +72,16 @@ outputs: requirements: build: + - {{ compiler('c') }} + - {{compiler('cxx')}} - python - {{ pin_subpackage('slsdetlib', exact=True) }} - setuptools run: + - libstdcxx-ng + - libgcc-ng - python - numpy - {{ pin_subpackage('slsdetlib', exact=True) }} diff --git a/python/src/detector.cpp b/python/src/detector.cpp index 4165c9e6d..ddd3e991f 100644 --- a/python/src/detector.cpp +++ b/python/src/detector.cpp @@ -610,6 +610,8 @@ void init_det(py::module &m) { py::arg() = Positions{}) .def("writeAdcRegister", &Detector::writeAdcRegister, py::arg(), py::arg(), py::arg() = Positions{}) + .def("getInitialChecks", &Detector::getInitialChecks) + .def("setInitialChecks", &Detector::setInitialChecks, py::arg()) .def("getControlPort", &Detector::getControlPort, py::arg() = Positions{}) .def("setControlPort", &Detector::setControlPort, py::arg(),