Changeset 38709 for trunk/ppSub
- Timestamp:
- Sep 3, 2015, 1:22:04 PM (11 years ago)
- Location:
- trunk/ppSub/src
- Files:
-
- 2 edited
-
ppSubArguments.c (modified) (1 diff)
-
ppSubCamera.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubArguments.c
r31156 r38709 103 103 psMetadataAddBool(arguments, PS_LIST_TAIL, "-save-refconv", 0, "Save reference convolved images?", false); 104 104 psMetadataAddBool(arguments, PS_LIST_TAIL, "-visual", 0, "Show diagnostic plots", NULL); 105 psMetadataAddBool(arguments, PS_LIST_TAIL, "-updatemode", 0, "update mode?", false); 105 106 106 107 if (argc == 1 || !psArgumentParse(arguments, &argc, argv) || argc != 2) { -
trunk/ppSub/src/ppSubCamera.c
r38063 r38709 317 317 checkFileruleFileSave (output, config); 318 318 checkFileruleFileSave (outMask, config); 319 pmFPAfile *outVar = NULL; 319 320 if (inVar && refVar) { 320 pmFPAfile *outVar = defineOutputFile(config, output, false, "PPSUB.OUTPUT.VARIANCE",321 outVar = defineOutputFile(config, output, false, "PPSUB.OUTPUT.VARIANCE", 321 322 PM_FPA_FILE_VARIANCE); 322 323 if (!outVar) { … … 325 326 } 326 327 checkFileruleFileSave (outVar, config); 328 } 329 // If we are in update mode unconditionally save the output files 330 bool updateMode = psMetadataLookupBool(NULL, config->arguments, "-updatemode"); 331 if (updateMode) { 332 output->save = true; 333 outMask->save = true; 334 if (outVar) { 335 outVar->save = true; 336 } 327 337 } 328 338
Note:
See TracChangeset
for help on using the changeset viewer.
