IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

In psphotReplaceAllSources if psphotReplaceAllSources returns false for
one input continue opearting on the others. false means we removed
no sources, not that something failed.

File:
1 edited

Legend:

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

    r34492 r34704  
    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.