mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
Exposing vector of strings for loading parameters (#147)
This commit is contained in:
@ -36,6 +36,10 @@ void init_det(py::module &m) {
|
||||
(void (Detector::*)(const std::string &)) &
|
||||
Detector::loadParameters,
|
||||
py::arg())
|
||||
.def("loadParameters",
|
||||
(void (Detector::*)(const std::vector<std::string> &)) &
|
||||
Detector::loadParameters,
|
||||
py::arg())
|
||||
.def("getHostname",
|
||||
(Result<std::string>(Detector::*)(sls::Positions) const) &
|
||||
Detector::getHostname,
|
||||
|
Reference in New Issue
Block a user