Changeset 29936 for trunk/psphot/src/psphotSubtractBackground.c
- Timestamp:
- Dec 5, 2010, 9:42:25 PM (16 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotSubtractBackground.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20101103/psphot (added) merged: 29660,29824-29825,29904,29914,29918,29920
- Property svn:mergeinfo changed
-
trunk/psphot/src/psphotSubtractBackground.c
r28013 r29936 132 132 psAssert (recipe, "missing recipe?"); 133 133 134 int num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM"); 135 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM"); 134 int num = psphotFileruleCount(config, filerule); 136 135 137 136 // loop over the available readouts 138 137 for (int i = 0; i < num; i++) { 139 138 if (!psphotSubtractBackgroundReadout (config, view, filerule, i, recipe)) { 140 psError (PSPHOT_ERR_CONFIG, false, "failed to subtract background for PSPHOT.INPUT entry %d", i);139 psError (PSPHOT_ERR_CONFIG, false, "failed to subtract background for %s entry %d", filerule, i); 141 140 return false; 142 141 }
Note:
See TracChangeset
for help on using the changeset viewer.
