IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 6, 2010, 6:41:06 PM (16 years ago)
Author:
eugene
Message:

fixing PSPHOT.SOURCES issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/stackphot.20100406/ppSim/src/ppSimUtils.c

    r24807 r27630  
    273273    PS_ASSERT_PTR_NON_NULL (readout, NULL);
    274274
    275     psArray *sources = psMetadataLookupPtr (NULL, readout->analysis, "PSPHOT.SOURCES");
     275    pmDetections *detections = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.DETECTIONS");
     276    psAssert (detections, "missing detections?");
     277
     278    psArray *sources = detections->allSources;
    276279    return sources;
    277280}
Note: See TracChangeset for help on using the changeset viewer.