Commit afd1853a authored by Andrey Filippov's avatar Andrey Filippov

Skipping missing main camera data, not aborting

parent 37f405a5
...@@ -8472,10 +8472,15 @@ if (debugLevel > -100) return true; // temporarily ! ...@@ -8472,10 +8472,15 @@ if (debugLevel > -100) return true; // temporarily !
} }
} }
} else { // if (quadCLT_main.correctionsParameters.clt_batch_explore) { } else { // if (quadCLT_main.correctionsParameters.clt_batch_explore) {
int num_restored = restoreDSI(DSI_MAIN_SUFFIX); // "-DSI_COMBO", "-DSI_MAIN" int num_restored = 0;
try {
num_restored = restoreDSI(DSI_MAIN_SUFFIX); // "-DSI_COMBO", "-DSI_MAIN"
} catch (Exception e) {
}
if (num_restored < 2) { if (num_restored < 2) {
System.out.println("No DSI form the main camera is available. Please re-run with 'clt_batch_explore' enabled to generate it"); System.out.println("No DSI from the main camera is available. Please re-run with 'clt_batch_explore' enabled to generate it");
return; continue; // skipping to the next file
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment