IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 11, 2014, 10:34:03 AM (12 years ago)
Author:
bills
Message:

In last revision I inadvertantly checked in code to "fix" the recurring ppSub faults
due to failure to find FWHM of images. This revision ifdefs out that change in effect
reverting the code to the (I assert broken) version in the ipp-20130712 tag.
ppSub experts should decide to make the change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubMatchPSFs.c

    r36441 r36581  
    156156    psLogMsg("ppSub", PS_LOG_INFO, "Input FWHM: %f\nReference FWHM: %f\n", inFWHM, refFWHM);
    157157    if (!isfinite(inFWHM) || !isfinite(refFWHM)) {
     158#ifdef SET_QUALITY_INSTEAD_OF_ERROR
    158159        psErrorStackPrint(stderr, "Cannot determine FHWM for images, giving up.");
    159160        int error = psErrorCodeLast(); // Error code
    160161        ppSubDataQuality(data, error, PPSUB_FILES_ALL);
    161162        return true;
     163#else
     164        psError(PPSUB_ERR_DATA, false, "Cannot determine FHWM for images, giving up.");
     165        return false;
     166#endif
    162167    }
    163168
Note: See TracChangeset for help on using the changeset viewer.