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/psphotSkyReplace.c

    r26688 r26691  
    55    bool status = true;
    66
    7     int num = psMetadataAddS32 (&status, config->arguments, "PSPHOT.INPUT.NUM");
     7    int num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM");
    88    psAssert (status, "programming error: must define PSPHOT.INPUT.NUM");
    99
    1010    // loop over the available readouts
    1111    for (int i = 0; i < num; i++) {
    12         if (!psphotReadout (config, view, "PSPHOT.INPUT", i)) {
     12        if (!psphotSkyReplaceReadout (config, view, "PSPHOT.INPUT", i)) {
    1313            psError (PSPHOT_ERR_CONFIG, false, "failed on saturated star deblend analysis for PSPHOT.INPUT entry %d", i);
    1414            return false;
     
    2626    // find the currently selected readout
    2727    pmFPAfile *file = pmFPAfileSelectSingle(config->files, filename, index); // File of interest
    28     psAssert (readout, "missing file?");
     28    psAssert (file, "missing file?");
    2929
    3030    pmReadout *readout = pmFPAviewThisReadout(view, file->fpa);
Note: See TracChangeset for help on using the changeset viewer.