- Timestamp:
- Nov 15, 2012, 5:56:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20120906/ppStack/src/ppStackCombinePrepare.c
r34666 r34667 26 26 pmCell *cell = pmFPAfileThisCell(config->files, view, outName); // Output cell 27 27 options->outRO = pmReadoutAlloc(cell); // Output readout 28 29 pmCell *expCell = pmFPAfileThisCell(config->files, view, expName); // Exposure cell30 options->expRO = pmReadoutAlloc(expCell); // Output readout31 28 29 if (expName) { 30 pmCell *expCell = pmFPAfileThisCell(config->files, view, expName); // Exposure cell 31 options->expRO = pmReadoutAlloc(expCell); // Output readout 32 } 33 else { 34 options->expRO = NULL; 35 } 32 36 pmCell *bkgCell; 33 37 int bkg_r0,bkg_c0; … … 78 82 } 79 83 80 if (!pmReadoutStackDefineOutput(options->expRO, col0, row0, numCols, numRows, true, true, 0)) { 84 if (expName) { 85 if (!pmReadoutStackDefineOutput(options->expRO, col0, row0, numCols, numRows, true, true, 0)) { 81 86 psError(PPSTACK_ERR_ARGUMENTS, false, "Unable to prepare output."); 82 87 return false; 88 } 83 89 } 84 90
Note:
See TracChangeset
for help on using the changeset viewer.
