Changeset 10526 for trunk/psModules/src/camera/pmFPAWrite.c
- Timestamp:
- Dec 6, 2006, 6:16:26 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAWrite.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAWrite.c
r10512 r10526 127 127 // Generate the HDU if needed --- this is required after a pmFPACopy, or similar, which does not 128 128 // generate the HDU, but only copies the structure. 129 if (! hdu->blankPHU && !*imageArray && (!pmHDUGenerateForCell(cell) || !*imageArray)) {129 if (!blank && !hdu->blankPHU && !*imageArray && (!pmHDUGenerateForCell(cell) || !*imageArray)) { 130 130 psError(PS_ERR_UNKNOWN, false, "Unable to generate HDU for cell --- likely programming error.\n"); 131 131 return false; … … 137 137 138 138 if (writeBlank || writeImage) { 139 139 140 updateNames(cell->parent->parent, cell->parent, cell); 140 141 pmConceptSource source = PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS | … … 177 178 // generate the HDU, but only copies the structure. 178 179 if (!blank && !hdu->blankPHU && !*imageArray && (!pmHDUGenerateForChip(chip) || !*imageArray)) { 179 psError(PS_ERR_UNKNOWN, false, "Unable to generate HDU for chip --- likely programming error.\n"); 180 psError(PS_ERR_UNKNOWN, false, 181 "Unable to generate HDU for chip --- likely programming error.\n"); 180 182 return false; 181 183 } … … 240 242 // generate the HDU, but only copies the structure. 241 243 if (!blank && !hdu->blankPHU && !*imageArray && (!pmHDUGenerateForFPA(fpa) || !*imageArray)) { 242 psError(PS_ERR_UNKNOWN, false, "Unable to generate HDU for FPA --- likely programming error.\n"); 244 psError(PS_ERR_UNKNOWN, false, 245 "Unable to generate HDU for FPA --- likely programming error.\n"); 243 246 return false; 244 247 }
Note:
See TracChangeset
for help on using the changeset viewer.
