gotthard tests passed

This commit is contained in:
2019-10-22 17:07:38 +02:00
parent 12c7389b8d
commit fa84d17a19
4 changed files with 17 additions and 8 deletions

View File

@ -817,7 +817,7 @@ std::string CmdProxy::ROI(int action) {
os << '[' << it.xmin << ", " << it.xmax << "] \n";
}
} else if (action == defs::PUT_ACTION) {
if (det_id == -1) {
if (det_id == -1 && det->size() > 1) {
throw sls::RuntimeError("Cannot execute ROI at multi module level");
}
if (args.size() != 2) {