IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 15, 2008, 9:59:10 AM (18 years ago)
Author:
Paul Price
Message:

Having psphotReadoutCleanup return false when there's an error still in the stack requires that possible sources of errors be checked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotReadout.c

    r19911 r20170  
    6868        return psphotReadoutCleanup (config, readout, recipe, detections, psf, NULL);
    6969    }
    70  
     70
    7171    // construct sources and measure basic stats
    7272    psArray *sources = psphotSourceStats (readout, recipe, detections);
     
    9595    }
    9696
    97     psphotImageQuality (recipe, sources);
     97    if (!psphotImageQuality (recipe, sources)) {
     98        psLogMsg("psphot", 3, "failed to measure image quality");
     99        return psphotReadoutCleanup(config, readout, recipe, detections, psf, sources);
     100    }
    98101
    99102    // if we were not supplied a PSF, choose one here
Note: See TracChangeset for help on using the changeset viewer.