diff --git a/etc/dev-env.yml b/etc/dev-env.yml index 2edfc46..5b83b40 100644 --- a/etc/dev-env.yml +++ b/etc/dev-env.yml @@ -13,4 +13,5 @@ dependencies: - pybind11 - numpy - matplotlib + - nlohmann_json diff --git a/src/RawMasterFile.cpp b/src/RawMasterFile.cpp index 6d39f16..cd913fd 100644 --- a/src/RawMasterFile.cpp +++ b/src/RawMasterFile.cpp @@ -314,11 +314,8 @@ void RawMasterFile::parse_json(const std::filesystem::path &fpath) { // if any of the values are set update the roi if (tmp_roi.xmin != 4294967295 || tmp_roi.xmax != 4294967295 || tmp_roi.ymin != 4294967295 || tmp_roi.ymax != 4294967295) { - - if (v < 7.21) { - tmp_roi.xmax++; // why is it updated - tmp_roi.ymax++; - } + tmp_roi.xmax++; + tmp_roi.ymax++; m_roi = tmp_roi; }