wip refactoring

This commit is contained in:
2025-07-02 19:44:30 +02:00
parent 66ee7954db
commit 313fc75950
2 changed files with 2 additions and 14 deletions

View File

@@ -208,20 +208,6 @@ std::string CreateVirtualHDF5File(
completeRoi = true;
}
// roi not allowed in 4 bit mode and with gotthard 2 mods
if (!completeRoi) {
if (dynamicRange == 4) {
throw std::runtime_error(
"Skipping virtual hdf5 file since rx_roi is "
"enabled and it is in 4 bit mode.");
}
if (gotthard25um && (numModX * numModY) == 2) {
throw std::runtime_error(
"Skipping virtual hdf5 file since rx_roi is "
"enabled and there are 2 Gotthard 25um modules.");
}
}
// virtual file name
std::ostringstream osfn;
osfn << filePath << "/" << fileNamePrefix << "_virtual"