IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 27, 2010, 9:17:17 AM (16 years ago)
Author:
eugene
Message:

build works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/psphot.stack.20100120/src/psphotApResid.c

    r26688 r26691  
    1313    psAssert (recipe, "missing recipe?");
    1414
    15     int num = psMetadataAddS32 (&status, config->arguments, "PSPHOT.INPUT.NUM");
     15    int num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM");
    1616    psAssert (status, "programming error: must define PSPHOT.INPUT.NUM");
    1717
    1818    // loop over the available readouts
    1919    for (int i = 0; i < num; i++) {
    20         if (!psphottApResidReadout (config, view, "PSPHOT.INPUT", i, recipe)) {
     20        if (!psphotApResidReadout (config, view, "PSPHOT.INPUT", i, recipe)) {
    2121            psError (PSPHOT_ERR_CONFIG, false, "failed on saturated star deblend analysis for PSPHOT.INPUT entry %d", i);
    2222            return false;
     
    2626}
    2727
    28 bool psphotApResid (pmConfig *config, const pmFPAview *view, const char *filename, int index, psMetadata *recipe)
     28bool psphotApResidReadout (pmConfig *config, const pmFPAview *view, const char *filename, int index, psMetadata *recipe)
    2929{
    3030    int Nfail = 0;
     
    3939    // find the currently selected readout
    4040    pmFPAfile *file = pmFPAfileSelectSingle(config->files, filename, index); // File of interest
    41     psAssert (readout, "missing file?");
     41    psAssert (file, "missing file?");
    4242
    4343    pmReadout *readout = pmFPAviewThisReadout(view, file->fpa);
Note: See TracChangeset for help on using the changeset viewer.