IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 15, 2006, 3:05:44 PM (20 years ago)
Author:
eugene
Message:

adding support for new pmFPAfile APIs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroDataLoad.c

    r7014 r7583  
    3434
    3535    // files associated with the science image
    36     pmFPAfileIOChecks (config->files, view, PM_FPA_BEFORE);
     36    pmFPAfileIOChecks (config, view, PM_FPA_BEFORE);
    3737
    3838    while ((chip = pmFPAviewNextChip (view, input->fpa, 1)) != NULL) {
    3939        psTrace (__func__, 4, "Chip %d: %x %x\n", view->chip, chip->file_exists, chip->process);
    4040        if (!chip->process || !chip->file_exists) { continue; }
    41         pmFPAfileIOChecks (config->files, view, PM_FPA_BEFORE);
     41        pmFPAfileIOChecks (config, view, PM_FPA_BEFORE);
    4242
    4343        while ((cell = pmFPAviewNextCell (view, input->fpa, 1)) != NULL) {
    4444            psTrace (__func__, 4, "Cell %d: %x %x\n", view->cell, cell->file_exists, cell->process);
    4545            if (!cell->process || !cell->file_exists) { continue; }
    46             pmFPAfileIOChecks (config->files, view, PM_FPA_BEFORE);
     46            pmFPAfileIOChecks (config, view, PM_FPA_BEFORE);
    4747
    4848            // process each of the readouts
    4949            while ((readout = pmFPAviewNextReadout (view, input->fpa, 1)) != NULL) {
    50                 pmFPAfileIOChecks (config->files, view, PM_FPA_BEFORE);
     50                pmFPAfileIOChecks (config, view, PM_FPA_BEFORE);
    5151                if (! readout->data_exists) { continue; }
    5252
    5353                psastroConvert (readout, recipe);
    5454
    55                 pmFPAfileIOChecks (config->files, view, PM_FPA_AFTER);
     55                pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
    5656            }
    57             pmFPAfileIOChecks (config->files, view, PM_FPA_AFTER);
     57            pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
    5858        }
    59         pmFPAfileIOChecks (config->files, view, PM_FPA_AFTER);
     59        pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
    6060    }
    61     pmFPAfileIOChecks (config->files, view, PM_FPA_AFTER);
     61    pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
    6262    psFree (view);
    6363    return true;
Note: See TracChangeset for help on using the changeset viewer.