Changeset 13880
- Timestamp:
- Jun 19, 2007, 10:31:22 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppMerge/src/ppMergeCombine.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/src/ppMergeCombine.c
r13873 r13880 255 255 } 256 256 257 // Add MD5 information for cell258 257 if (readout->image) { 258 // Add MD5 information for cell 259 259 pmHDU *hdu = pmHDUFromCell(cell); // HDU that owns the cell 260 260 const char *chipName = psMetadataLookupStr(NULL, chip->concepts, "CHIP.NAME"); … … 271 271 psFree(md5string); 272 272 psFree(headerName); 273 274 275 // Statistics on the merged cell 276 if (data->statsFile) { 277 if (!data->stats) { 278 data->stats = psMetadataAlloc(); 279 } 280 if (!ppStats(data->stats, data->out, view, options->combine->maskVal, config)) { 281 psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to generate stats for image.\n"); 282 return false; 283 } 284 } 273 285 } 274 286 275 287 psFree(readout); // Drop reference 276 288 277 // Statistics on the merged cell278 if (data->statsFile) {279 if (!data->stats) {280 data->stats = psMetadataAlloc();281 }282 if (!ppStats(data->stats, data->out, view, options->combine->maskVal, config)) {283 psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to generate stats for image.\n");284 return false;285 }286 }287 289 288 290 // We threw away the bias sections --- record this
Note:
See TracChangeset
for help on using the changeset viewer.
