- Timestamp:
- Mar 9, 2012, 2:05:41 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotStackMatchPSFsPrepare.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotStackMatchPSFsPrepare.c
r32348 r33462 32 32 pmDetections *detections = psMetadataLookupPtr(NULL, readout->analysis, "PSPHOT.DETECTIONS"); // Sources 33 33 if (!detections || !detections->allSources) { 34 psWarning("No detections found for image %d --- rejecting.", index); 35 options->inputMask->data.PS_TYPE_VECTOR_MASK_DATA[index] = 0x01;36 return true; // XXX not an error: we continue processing other images 34 // An input must have sources. If we got here without any the input file was likely corrupt 35 psError(PSPHOT_ERR_IO, true, "Input %d has no sources.\n\tCheck all instances of: %s", index, inputSrc->origname); 36 return false; 37 37 } 38 38 psAssert (detections->allSources, "missing sources?");
Note:
See TracChangeset
for help on using the changeset viewer.
