Merge branch 'main' into fix/adapt_and_test_interpolation

This commit is contained in:
2025-10-17 10:03:26 +02:00
committed by GitHub
2 changed files with 3 additions and 5 deletions

View File

@@ -13,4 +13,5 @@ dependencies:
- pybind11 - pybind11
- numpy - numpy
- matplotlib - matplotlib
- nlohmann_json

View File

@@ -314,11 +314,8 @@ void RawMasterFile::parse_json(const std::filesystem::path &fpath) {
// if any of the values are set update the roi // if any of the values are set update the roi
if (tmp_roi.xmin != 4294967295 || tmp_roi.xmax != 4294967295 || if (tmp_roi.xmin != 4294967295 || tmp_roi.xmax != 4294967295 ||
tmp_roi.ymin != 4294967295 || tmp_roi.ymax != 4294967295) { tmp_roi.ymin != 4294967295 || tmp_roi.ymax != 4294967295) {
tmp_roi.xmax++;
if (v < 7.21) { tmp_roi.ymax++;
tmp_roi.xmax++; // why is it updated
tmp_roi.ymax++;
}
m_roi = tmp_roi; m_roi = tmp_roi;
} }