IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2012, 3:50:35 PM (14 years ago)
Author:
mhuber
Message:

changing assert fail fault for no sources to just continue on

File:
1 edited

Legend:

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

    r32721 r33980  
    6060
    6161    psArray *sources = detections->allSources;
    62     psAssert (sources, "missing sources?");
     62    //psAssert (sources, "missing sources?");
     63    if (!sources) return true;
    6364
    6465    // user-defined masks to test for good/bad pixels (build from recipe list if not yet set)
     
    139140
    140141    psArray *sources = detections->allSources;
    141     psAssert (sources, "missing sources?");
    142 
     142    //psAssert (sources, "missing sources?");
     143    if (!sources) return true;
     144   
    143145    // user-defined masks to test for good/bad pixels (build from recipe list if not yet set)
    144146    psImageMaskType maskVal = psMetadataLookupImageMask(&status, recipe, "MASK.PSPHOT"); // Mask value for bad pixels
Note: See TracChangeset for help on using the changeset viewer.