Changeset 13794 for trunk/ppStats/src/ppStatsLoop.c
- Timestamp:
- Jun 13, 2007, 11:55:33 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppStats/src/ppStatsLoop.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStats/src/ppStatsLoop.c
r13793 r13794 103 103 } 104 104 if (psListLength(data->concepts) > 0) { 105 if (fits && !pmCellReadHeader(cell, fits)) {105 if (fits && cell->hdu && !pmCellReadHeader(cell, fits)) { 106 106 psError (PS_ERR_IO, false, "trouble reading cell header\n"); 107 107 psFree(cellResults); 108 108 return PS_EXIT_DATA_ERROR; 109 109 } 110 pmConceptsReadCell(cell, PM_CONCEPT_SOURCE_ALL, false, config->database);110 pmConceptsReadCell(cell, PM_CONCEPT_SOURCE_ALL, true, config->database); 111 111 getMetadata(cellResults, cell->concepts, data->concepts); 112 112 } … … 299 299 } 300 300 if (psListLength(data->concepts) > 0) { 301 if (fits && !pmChipReadHeader(chip, fits)) {301 if (fits && chip->hdu && !pmChipReadHeader(chip, fits)) { 302 302 psError (PS_ERR_IO, false, "trouble reading chip header\n"); 303 303 psFree(chipResults); 304 304 return PS_EXIT_DATA_ERROR; 305 305 } 306 pmConceptsReadChip(chip, PM_CONCEPT_SOURCE_ALL, false, false, config->database);306 pmConceptsReadChip(chip, PM_CONCEPT_SOURCE_ALL, true, true, config->database); 307 307 getMetadata(chipResults, chip->concepts, data->concepts); 308 308 } … … 375 375 } 376 376 if (psListLength(data->concepts) > 0) { 377 if (fits && !pmFPAReadHeader(fpa, fits)) {377 if (fits && fpa->hdu && !pmFPAReadHeader(fpa, fits)) { 378 378 psError(PS_ERR_IO, false, "Unable to read header for FPA."); 379 379 psFree(view); … … 382 382 return NULL; 383 383 } 384 pmConceptsReadFPA(fpa, PM_CONCEPT_SOURCE_ALL, false, config->database);384 pmConceptsReadFPA(fpa, PM_CONCEPT_SOURCE_ALL, true, config->database); 385 385 getMetadata(newResults, fpa->concepts, data->concepts); 386 386 }
Note:
See TracChangeset
for help on using the changeset viewer.
