IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 26, 2010, 5:10:34 PM (16 years ago)
Author:
eugene
Message:

various API fixes for multi-inputs

File:
1 edited

Legend:

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

    r26681 r26688  
    4444    // find the currently selected readout
    4545    pmFPAfile *file = pmFPAfileSelectSingle(config->files, filename, index); // File of interest
    46     psAssert (readout, "missing file?");
     46    psAssert (file, "missing file?");
    4747
    4848    pmReadout *readout = pmFPAviewThisReadout(view, file->fpa);
    4949    psAssert (readout, "missing readout?");
    5050
    51     psArray *sources = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.SOURCES");
     51    pmDetections *detections = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.DETECTIONS");
     52    psAssert (detections, "missing detections?");
     53
     54    psArray *sources = detections->allSources;
    5255    psAssert (sources, "missing sources?");
    5356
Note: See TracChangeset for help on using the changeset viewer.