Changeset 28013 for trunk/psphot/src/psphotReadoutCleanup.c
- Timestamp:
- May 18, 2010, 4:11:53 PM (16 years ago)
- Location:
- trunk/psphot
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/psphotReadoutCleanup.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
-
Property svn:mergeinfo
set to
/branches/eam_branches/psphot.20100506 merged eligible
-
Property svn:mergeinfo
set to
-
trunk/psphot/src/psphotReadoutCleanup.c
r27657 r28013 2 2 3 3 // for now, let's store the detections on the readout->analysis for each readout 4 bool psphotReadoutCleanup (pmConfig *config, const pmFPAview *view )4 bool psphotReadoutCleanup (pmConfig *config, const pmFPAview *view, const char *filerule) 5 5 { 6 6 bool status = true; … … 24 24 // loop over the available readouts 25 25 for (int i = 0; i < num; i++) { 26 if (!psphotReadoutCleanupReadout (config, view, "PSPHOT.INPUT", i, recipe)) {27 psError (PSPHOT_ERR_CONFIG, false, "failed on psphotReadoutCleanup for PSPHOT.INPUT entry %d", i);26 if (!psphotReadoutCleanupReadout (config, view, filerule, i, recipe)) { 27 psError (PSPHOT_ERR_CONFIG, false, "failed on psphotReadoutCleanup for %s entry %d", filerule, i); 28 28 return false; 29 29 } … … 39 39 // not a DATA error, then there was a serious problem. Only in this case, or if the fail 40 40 // on the stats measurement, do we return false 41 bool psphotReadoutCleanupReadout (pmConfig *config, const pmFPAview *view, const char *file name, int index, psMetadata *recipe) {41 bool psphotReadoutCleanupReadout (pmConfig *config, const pmFPAview *view, const char *filerule, int index, psMetadata *recipe) { 42 42 43 43 bool status = true; 44 44 45 45 // find the currently selected readout 46 pmFPAfile *file = pmFPAfileSelectSingle(config->files, file name, index); // File of interest46 pmFPAfile *file = pmFPAfileSelectSingle(config->files, filerule, index); // File of interest 47 47 psAssert (file, "missing file?"); 48 48
Note:
See TracChangeset
for help on using the changeset viewer.
