Changeset 40447 for trunk/psphot/src/psphotReadoutCleanup.c
- Timestamp:
- Jun 11, 2018, 2:33:59 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotReadoutCleanup.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotReadoutCleanup.c
r37941 r40447 55 55 // XXX where do we free these, in here (psMetadataRemove?) 56 56 57 // XXX this is currently only set by psphotModelBackground / psphotModelBackgroundReadoutFileIndex / psphotModelBackgroundReadout 58 // if the image background cannot be measured (no valid pixels) 57 59 int quality = psMetadataLookupS32 (&status, readout->analysis, "PSPHOT_QUALITY"); 58 60 if (quality) { … … 74 76 return false; 75 77 } 78 } 79 80 // Check to see if any sources were detected 81 // This is not necessarily a quality error: e.g., ppSub 82 if (0 && !psf && !sources) { 83 psError(PSPHOT_ERR_DATA, false, "Unable to detect sources in the image"); 84 return false; 76 85 } 77 86 … … 115 124 116 125 psFree (header); 126 if (quality) return false; 127 117 128 return true; 118 129 }
Note:
See TracChangeset
for help on using the changeset viewer.
