IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17110


Ignore:
Timestamp:
Mar 24, 2008, 4:31:16 PM (18 years ago)
Author:
eugene
Message:

check MEASURE.APTREND before running

File:
1 edited

Legend:

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

    r16820 r17110  
    1414
    1515    PS_ASSERT_PTR_NON_NULL(psf, false);
    16     // XXX drop this? PS_ASSERT_PTR_NON_NULL(psf->ApTrend, false);
    1716    PS_ASSERT_PTR_NON_NULL(readout, false);
    1817    PS_ASSERT_PTR_NON_NULL(sources, false);
     
    2019
    2120    psTimerStart ("psphot");
     21
     22    bool measureAptrend = psMetadataLookupBool (&status, recipe, "MEASURE.APTREND");
     23    if (!measureAptrend) {
     24      return true;
     25    }
    2226
    2327    // user-defined masks to test for good/bad pixels (build from recipe list if not yet set)
Note: See TracChangeset for help on using the changeset viewer.