IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15128


Ignore:
Timestamp:
Sep 29, 2007, 1:59:44 PM (19 years ago)
Author:
eugene
Message:

send havePSF to psphotRoughClass on second pass

File:
1 edited

Legend:

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

    r15040 r15128  
    147147            return psphotReadoutCleanup (config, readout, recipe, psf, sources);
    148148        }
     149        havePSF = true;
    149150    }
    150151
     
    237238
    238239    // set source type
    239     psphotRoughClass (newSources, recipe, false, maskSat);
     240    if (!psphotRoughClass (newSources, recipe, havePSF, maskSat)) {
     241        psLogMsg ("psphot", 3, "failed to find a valid PSF clump for image");
     242        return psphotReadoutCleanup (config, readout, recipe, psf, sources);
     243    }
    240244
    241245    // create full input models
Note: See TracChangeset for help on using the changeset viewer.