Changeset 35497 for trunk/pstamp/src/ppstampMakeStamp.c
- Timestamp:
- May 3, 2013, 9:47:09 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/src/ppstampMakeStamp.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/src/ppstampMakeStamp.c
r34596 r35497 359 359 360 360 if (options->writeCMF) { 361 pmReadout * astromReadout = NULL;361 pmReadout *sourcesReadout = NULL; 362 362 if (astrom->fpa != input->fpa) { 363 astromReadout = pmFPAviewThisReadout(srcView, astrom->fpa); 364 } 365 if (!copySources(outReadout, astromReadout, astromReadout, extractRegion)) { 363 sourcesReadout = pmFPAviewThisReadout(srcView, astrom->fpa); 364 } else { 365 sourcesReadout = readout; 366 } 367 if (!copySources(outReadout, sourcesReadout, sourcesReadout, extractRegion)) { 366 368 psError(PS_ERR_UNKNOWN, false, "failed to extract sources from region of interest.\n"); 367 369 status = false; … … 784 786 785 787 // first look for detections in the input readout. Those would have come from the -sources file 788 if (!inReadout->analysis) { 789 psLogMsg("ppstampMakeStamp", PS_LOG_WARN, "no analysis metadata found on input\n"); 790 return false; 791 } 786 792 pmDetections *inDetections = psMetadataLookupPtr (&status, inReadout->analysis, "PSPHOT.DETECTIONS"); 787 793 if (!inDetections) {
Note:
See TracChangeset
for help on using the changeset viewer.
