IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2006, 11:55:41 AM (20 years ago)
Author:
rhl
Message:

Check return codes

File:
1 edited

Legend:

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

    r7329 r7342  
    1111    // XXX does this need to invoke I/O?
    1212    // XXX move this input the psphotImageLoop level?
    13     pmReadoutSetMaskWeight (readout);
     13    if (!pmReadoutSetMaskWeight (readout)) {
     14        return false;
     15    }
    1416
    1517    // I have a valid mask, now mask in the analysis region of interest
     
    5961
    6062    // measure aperture photometry corrections
    61     psphotApResid (readout, sources, recipe, psf);
     63    if (!psphotApResid (readout, sources, recipe, psf)) {
     64        psError(PSPHOT_ERR_PHOTOM, false, "Measure aperture photometry corrections");
     65        return false;
     66    }
    6267
    6368    // calculate source magnitudes
Note: See TracChangeset for help on using the changeset viewer.