Changeset 18168 for trunk/ppStats/src/ppStatsCell.c
- Timestamp:
- Jun 17, 2008, 12:29:17 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStats/src/ppStatsCell.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStats/src/ppStatsCell.c
r18137 r18168 6 6 pmFPAview *view, // View for analysis 7 7 ppStatsData *data, // The data 8 constpmConfig *config // Configuration8 pmConfig *config // Configuration 9 9 ) 10 10 { … … 49 49 // extract from existing headers 50 50 if (cell->hdu) { 51 if (fits && !pmCellReadHeader(cell, fits, config ->database)) {51 if (fits && !pmCellReadHeader(cell, fits, config)) { 52 52 psError (PS_ERR_IO, false, "trouble reading cell header\n"); 53 53 psFree(cellResults); … … 65 65 // Extract Concept values 66 66 if (psListLength(data->concepts) > 0) { 67 if (fits && cell->hdu && !pmCellReadHeader(cell, fits, config ->database)) {67 if (fits && cell->hdu && !pmCellReadHeader(cell, fits, config)) { 68 68 psError (PS_ERR_IO, false, "trouble reading cell header\n"); 69 69 psFree(cellResults); 70 70 return PS_EXIT_DATA_ERROR; 71 71 } 72 pmConceptsReadCell(cell, PM_CONCEPT_SOURCE_ALL, false, config ->database);72 pmConceptsReadCell(cell, PM_CONCEPT_SOURCE_ALL, false, config); 73 73 p_ppStatsGetMetadata(cellResults, cell->concepts, data->concepts); 74 74 } … … 77 77 if (data->doStats || psListLength(data->summary)) { 78 78 // Read the image pixel data 79 if (fits && !pmCellRead(cell, fits, config ->database)) {79 if (fits && !pmCellRead(cell, fits, config)) { 80 80 psError (PS_ERR_IO, false, "trouble reading cell data\n"); 81 81 psFree(cellResults);
Note:
See TracChangeset
for help on using the changeset viewer.
