Changeset 11702 for trunk/psphot/src/psphotChoosePSF.c
- Timestamp:
- Feb 7, 2007, 5:52:32 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotChoosePSF.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotChoosePSF.c
r11306 r11702 15 15 psf = psMetadataLookupPtr (NULL, readout->analysis, "PSPHOT.PSF"); 16 16 if (psf != NULL) { 17 if (!psphotPSFstats (readout, recipe, psf)) psAbort ("psphotChoosePSF","cannot measure PSF shape terms");17 if (!psphotPSFstats (readout, recipe, psf)) psAbort("cannot measure PSF shape terms"); 18 18 return psf; 19 19 } … … 96 96 psList *list = NULL; 97 97 psMetadataItem *mdi = psMetadataLookup (recipe, "PSF_MODEL"); 98 if (mdi == NULL) psAbort ("psphotChoosePSF","missing PSF_MODEL selection");98 if (mdi == NULL) psAbort("missing PSF_MODEL selection"); 99 99 100 100 if (mdi->type == PS_DATA_STRING) { … … 102 102 psListAdd (list, PS_LIST_HEAD, mdi); 103 103 } else { 104 if (mdi->type != PS_DATA_METADATA_MULTI) psAbort ("psphotChoosePSF","missing PSF_MODEL selection");104 if (mdi->type != PS_DATA_METADATA_MULTI) psAbort("missing PSF_MODEL selection"); 105 105 list = psMemIncrRefCounter(mdi->data.list); 106 106 } … … 247 247 psFree (models); 248 248 249 if (!psphotPSFstats (readout, recipe, psf)) psAbort ("psphotChoosePSF","cannot measure PSF shape terms");249 if (!psphotPSFstats (readout, recipe, psf)) psAbort("cannot measure PSF shape terms"); 250 250 251 251 modelName = pmModelGetType (psf->type);
Note:
See TracChangeset
for help on using the changeset viewer.
