Changeset 18167 for trunk/ppStats/src/ppStatsLoop.c
- Timestamp:
- Jun 17, 2008, 12:26:25 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStats/src/ppStatsLoop.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStats/src/ppStatsLoop.c
r18137 r18167 21 21 // Iterate through the FPA 22 22 if (psListLength(data->headers) > 0 && fpa->hdu) { 23 if (fits && !pmFPAReadHeader(fpa, fits, config ->database)) {23 if (fits && !pmFPAReadHeader(fpa, fits, config)) { 24 24 psError(PS_ERR_IO, false, "Unable to read header for FPA."); 25 25 psFree(view); … … 32 32 } 33 33 if (psListLength(data->concepts) > 0) { 34 if (fits && fpa->hdu && !pmFPAReadHeader(fpa, fits, config ->database)) {34 if (fits && fpa->hdu && !pmFPAReadHeader(fpa, fits, config)) { 35 35 psError(PS_ERR_IO, false, "Unable to read header for FPA."); 36 36 psFree(view); … … 39 39 return NULL; 40 40 } 41 pmConceptsReadFPA(fpa, PM_CONCEPT_SOURCE_ALL, false, config ->database);41 pmConceptsReadFPA(fpa, PM_CONCEPT_SOURCE_ALL, false, config); 42 42 p_ppStatsGetMetadata(newResults, fpa->concepts, data->concepts); 43 43 } … … 53 53 // Iterate over chips (if view->chip is set, skip all others) 54 54 for (int i = 0; i < chips->n; i++) { 55 if ((view->chip >= 0) && (i != view->chip)) continue; 55 if ((view->chip >= 0) && (i != view->chip)) continue; 56 56 pmChip *chip = chips->data[i]; // Chip of interest 57 57 *result = ppStatsChip(newResults, chip, fits, view, data, config);
Note:
See TracChangeset
for help on using the changeset viewer.
