- Timestamp:
- Dec 3, 2010, 2:28:34 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101103/psphot/src/psphotMergeSources.c
r28013 r29904 8 8 bool psphotMergeSources (pmConfig *config, const pmFPAview *view, const char *filerule) 9 9 { 10 bool status = true; 11 12 int num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM"); 13 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM"); 10 int num = psphotFileruleCount(config, filerule); 14 11 15 12 // loop over the available readouts … … 70 67 // XXX This function needs to be updated to loop over set of input files. At the moment, we 71 68 // only expect a single entry for PSPHOT.INPUT.CMF and PSPHOT.SOURCES.TEXT, so we can only 72 // associate input sources with a single entry for PSPHOT.INPUT69 // associate input sources with a single entry for the filerule 73 70 bool psphotLoadExtSources (pmConfig *config, const pmFPAview *view, const char *filerule) { 74 71 … … 405 402 bool status = true; 406 403 407 int num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM"); 408 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM"); 404 int num = psphotFileruleCount(config, ruleSrc); 409 405 410 406 // skip the chisq image because it is a duplicate of the detection version
Note:
See TracChangeset
for help on using the changeset viewer.
