mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2026-02-18 15:28:40 +01:00
roi max should be incremented by 1 for all versions of the file
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user