updated rois in master file
Build on RHEL9 / build (push) Successful in 2m29s
Build on RHEL8 / build (push) Successful in 3m12s
Run tests using data on local RHEL8 / build (push) Successful in 3m55s

This commit is contained in:
2026-08-24 16:07:40 +02:00
parent e4f9b791f9
commit cf07d40bb4
6 changed files with 83 additions and 5 deletions
+8 -2
View File
@@ -190,8 +190,14 @@ void define_file_io_bindings(py::module &m) {
"<ROI: xmin: {} xmax: {} ymin: {} ymax: {}>", self.xmin,
self.xmax, self.ymin, self.ymax);
})
.def("__iter__", [](const ROI &self) {
return py::make_iterator(&self.xmin, &self.ymax + 1); // NOLINT
.def("__iter__",
[](const ROI &self) {
return py::make_iterator(&self.xmin, &self.ymax + 1); // NOLINT
})
.def("__eq__", [](const ROI &self, const ROI &other) {
return self.xmin == other.xmin && self.xmax == other.xmax &&
self.ymin == other.ymin && self.ymax == other.ymax;
});
#pragma GCC diagnostic pop