IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2010, 3:57:49 PM (16 years ago)
Author:
Paul Price
Message:

Turn 'all images rejected' into bad quality instead of error.

File:
1 edited

Legend:

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

    r27218 r28182  
    235235
    236236    if (numGood == 0) {
    237         psError(PPSTACK_ERR_REJECTED, false, "No good images to combine.");
     237        options->quality = PPSTACK_ERR_REJECTED;
     238        psErrorStackPrint(stderr, "No good images survived convolution stage.");
     239        psErrorClear();
     240        psWarning("No good images survived convolution stage.");
    238241        psFree(fpaList);
    239242        psFree(cellList);
    240         return false;
     243        return true;
    241244    }
    242245
     
    324327
    325328    if (numGood == 0) {
    326         psError(PPSTACK_ERR_REJECTED, false, "No good images to combine.");
    327         return false;
     329        options->quality = PPSTACK_ERR_REJECTED;
     330        psErrorStackPrint(stderr, "No good images survived convolution stage.");
     331        psErrorClear();
     332        psWarning("No good images survived convolution stage.");
     333        return true;
    328334    }
    329335
Note: See TracChangeset for help on using the changeset viewer.