IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34707


Ignore:
Timestamp:
Nov 27, 2012, 11:28:32 AM (14 years ago)
Author:
bills
Message:

it is not an error for psphotReplaceAllSourcesReadout to return false

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20121026/psphot/src/psphotReplaceUnfit.c

    r34492 r34707  
    3535    // loop over the available readouts
    3636    for (int i = 0; i < num; i++) {
    37         if (!psphotReplaceAllSourcesReadout (config, view, filerule, i, recipe, ignoreState)) {
    38             psError (PSPHOT_ERR_CONFIG, false, "failed to replace all sources for %s entry %d", filerule, i);
    39             return false;
    40         }
     37        // ignore return value. False means "sources not subtracted", not a failure condition
     38        (void) psphotReplaceAllSourcesReadout (config, view, filerule, i, recipe, ignoreState);
    4139    }
    4240    return true;
Note: See TracChangeset for help on using the changeset viewer.