Changeset 15608 for trunk/pswarp/src/pswarpLoop.c
- Timestamp:
- Nov 13, 2007, 12:02:34 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/pswarp/src/pswarpLoop.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pswarp/src/pswarpLoop.c
r14901 r15608 215 215 pmCell *outCell = output->parent; // Output cell 216 216 pmChip *outChip = outCell->parent; // Output chip 217 pmFPA *outFPA = outChip->parent; // Output FPA 217 pmFPA *outFPA = outChip->parent; // Output FP 218 219 if (!pswarpPixelFraction(output, stats, config)) { 220 // Don't write output images, and don't bother about anything else 221 output->data_exists = outCell->data_exists = outChip->data_exists = false; 222 psFree(cells); 223 psFree(view); 224 goto COMPLETED; 225 } 218 226 219 227 if (!pmConceptsAverageCells(outCell, cells, NULL, NULL, false)) { 220 228 psError(PS_ERR_UNKNOWN, false, "Unable to average cell concepts."); 221 229 psFree(stats); 230 psFree(cells); 222 231 psFree(view); 223 232 return false; … … 266 275 view->chip = view->cell = view->readout = 0; 267 276 if (!psphotReadout(config, view)) { 268 psError(psErrorCodeLast(), false, "Unable to determine PSF for warped image.\n");269 ps Free(view);270 return false;277 // Can't do anything about it; let it continue 278 psErrorStackPrint(stderr, "Unable to determine PSF for warped image.\n"); 279 psErrorClear(); 271 280 } 272 281 psFree(view); … … 319 328 // Now done with the skycell side of things 320 329 330 COMPLETED: 321 331 // Write out summary statistics 322 332 if (stats) {
Note:
See TracChangeset
for help on using the changeset viewer.
