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

    r26900 r27630  
    9898
    9999    // create the exported-metadata and free local data
    100     // XXX this places the sources on readout->analysis as PSPHOT.SOURCES.  modify?
    101     // (or don't supply the sources, and do this with a different function)
    102100    psphotReadoutCleanup(config, readout, recipe, NULL, psf, NULL);
    103101
     
    111109    psAssert (forceReadout, "no forceReadout?");
    112110    pmChipSetDataStatus (forceChip, true);
    113     psMetadataAddArray (forceReadout->analysis, PS_LIST_TAIL, "PSPHOT.SOURCES", PS_META_REPLACE, "force photometry ", forceSources);
     111
     112    pmDetections *detections = pmDetectionsAlloc();
     113    detection->allSources = forceSources;
     114    psMetadataAddArray (forceReadout->analysis, PS_LIST_TAIL, "PSPHOT.DETECTIONS", PS_META_REPLACE, "force photometry ", detections);
     115    psFree(detections);
    114116
    115117    return true;
Note: See TracChangeset for help on using the changeset viewer.