- Timestamp:
- Jan 27, 2010, 9:17:17 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/psphot.stack.20100120/src/psphotFindDetections.c
r26688 r26691 12 12 psAssert (recipe, "missing recipe?"); 13 13 14 int num = psMetadata AddS32 (&status, config->arguments, "PSPHOT.INPUT.NUM");14 int num = psMetadataLookupS32 (&status, config->arguments, "PSPHOT.INPUT.NUM"); 15 15 psAssert (status, "programming error: must define PSPHOT.INPUT.NUM"); 16 16 … … 54 54 55 55 // save detections on the readout->analysis 56 if (!psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSPHOT.DETECTIONS", PS_DATA_PTR, "psphot detectinos", detections)) {56 if (!psMetadataAddPtr (readout->analysis, PS_LIST_TAIL, "PSPHOT.DETECTIONS", PS_META_REPLACE | PS_DATA_UNKNOWN, "psphot detectinos", detections)) { 57 57 psError (PSPHOT_ERR_CONFIG, false, "problem saving detections on readout"); 58 58 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
