IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18167


Ignore:
Timestamp:
Jun 17, 2008, 12:26:25 PM (18 years ago)
Author:
Paul Price
Message:

New API for pmFPARead(), etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStats/src/ppStatsLoop.c

    r18137 r18167  
    2121    // Iterate through the FPA
    2222    if (psListLength(data->headers) > 0 && fpa->hdu) {
    23         if (fits && !pmFPAReadHeader(fpa, fits, config->database)) {
     23        if (fits && !pmFPAReadHeader(fpa, fits, config)) {
    2424            psError(PS_ERR_IO, false, "Unable to read header for FPA.");
    2525            psFree(view);
     
    3232    }
    3333    if (psListLength(data->concepts) > 0) {
    34         if (fits && fpa->hdu && !pmFPAReadHeader(fpa, fits, config->database)) {
     34        if (fits && fpa->hdu && !pmFPAReadHeader(fpa, fits, config)) {
    3535            psError(PS_ERR_IO, false, "Unable to read header for FPA.");
    3636            psFree(view);
     
    3939            return NULL;
    4040        }
    41         pmConceptsReadFPA(fpa, PM_CONCEPT_SOURCE_ALL, false, config->database);
     41        pmConceptsReadFPA(fpa, PM_CONCEPT_SOURCE_ALL, false, config);
    4242        p_ppStatsGetMetadata(newResults, fpa->concepts, data->concepts);
    4343    }
     
    5353    // Iterate over chips (if view->chip is set, skip all others)
    5454    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;
    5656        pmChip *chip = chips->data[i];  // Chip of interest
    5757        *result = ppStatsChip(newResults, chip, fits, view, data, config);
Note: See TracChangeset for help on using the changeset viewer.