IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 2, 2009, 10:39:25 AM (17 years ago)
Author:
Paul Price
Message:

Attempt to write output files when photometry fails, but still return an error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackPhotometry.c

    r21259 r22730  
    149149    if (!psphotReadoutKnownSources(config, view, inSources)) {
    150150        // Clear the error, so that the output files are written.
    151         psWarning("Unable to perform photometry on stacked image.");
    152         psErrorStackPrint(stderr, "Error stack from photometry:");
    153         psErrorClear();
     151        psError(PS_ERR_UNKNOWN, false, "Unable to perform photometry on stacked image.");
     152        return false;
    154153    }
    155154
Note: See TracChangeset for help on using the changeset viewer.