IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 19, 2014, 4:12:18 PM (12 years ago)
Author:
bills
Message:

in radial apertures loop give up if psphotChoosePSF fails rather than
continuing which leads to an assertion failure

File:
1 edited

Legend:

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

    r36375 r36542  
    391391
    392392                // re-measure the PSF for the smoothed image (using entries in 'allSources')
    393                 psphotChoosePSF (config, view, STACK_OUT, false);
     393                if (!psphotChoosePSF (config, view, STACK_OUT, false)) {
     394                    psLogMsg ("psphot", 3, "failure to construct a psf model in radial aperture loop for entry :%d", entry);
     395                    return psphotReadoutCleanup (config, view, STACK_RAW);
     396                }
    394397
    395398                // this is necessary to update the models based on the new PSF
Note: See TracChangeset for help on using the changeset viewer.