IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 24, 2007, 11:41:08 AM (19 years ago)
Author:
eugene
Message:

updating error handling to distinguish data errors from fatal errors

File:
1 edited

Legend:

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

    r11177 r11263  
    1111    // determine properties (sky, moments) of initial sources
    1212    float INNER    = psMetadataLookupF32 (&status, recipe, "SKY_INNER_RADIUS");
     13    if (!status) return NULL;
    1314    float OUTER    = psMetadataLookupF32 (&status, recipe, "SKY_OUTER_RADIUS");
     15    if (!status) return NULL;
    1416    float RADIUS   = psMetadataLookupF32 (&status, recipe, "PSF_MOMENTS_RADIUS");
     17    if (!status) return NULL;
    1518    float MIN_SN   = psMetadataLookupF32 (&status, recipe, "MOMENTS_SN_MIN");
     19    if (!status) return NULL;
    1620    char *breakPt  = psMetadataLookupStr (&status, recipe, "BREAK_POINT");
     21    if (!status) return NULL;
    1722
    1823    sources = psArrayAllocEmpty (peaks->n);
Note: See TracChangeset for help on using the changeset viewer.