Changeset 7254 for trunk/psModules/src/camera/pmHDUGenerate.c
- Timestamp:
- May 31, 2006, 12:51:15 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmHDUGenerate.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmHDUGenerate.c
r7168 r7254 26 26 for (int i = 0; i < cells->n; i++) { 27 27 pmCell *cell = cells->data[i]; // A cell 28 result |= psListAdd(list, PS_LIST_TAIL, cell); 28 if (!cell->hdu) { // Don't add cells that have their own HDU 29 result |= psListAdd(list, PS_LIST_TAIL, cell); 30 } 29 31 } 30 32 … … 44 46 for (int i = 0; i < chips->n; i++) { 45 47 pmChip *chip = chips->data[i]; // A chip 46 result |= addCellsFromChip(list, chip); 48 if (! chip->hdu) { // Don't add chips that have their own HDU 49 result |= addCellsFromChip(list, chip); 50 } 47 51 } 48 52 … … 263 267 } 264 268 if (numReadouts == 0 || type == 0) { 265 psError(PS_ERR_IO, true, "Unable to find images within HDU.\n");269 // Nothing from which to create an HDU 266 270 psFree(cells); 267 271 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
