Changeset 41537
- Timestamp:
- Apr 3, 2021, 2:26:48 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotMakeGrowthCurve.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotMakeGrowthCurve.c
r31452 r41537 40 40 bool INTERPOLATE_AP = psMetadataLookupBool (&status, recipe, "INTERPOLATE_AP"); 41 41 if (!pmGrowthCurveGenerateFromSources (readout, psf, sources, INTERPOLATE_AP, maskVal, markVal)) { 42 psError(PSPHOT_ERR_APERTURE, false, "Fitting aperture corrections"); 42 // psError(PSPHOT_ERR_APERTURE, false, "Fitting aperture corrections"); 43 psWarning("Failed to measure the growth curve for aperture corrections (from sources)"); 43 44 psFree(psf->growth); psf->growth = NULL; 44 return false;45 return true; 45 46 } 46 47 … … 48 49 bool IGNORE_GROWTH = psMetadataLookupBool (&status, recipe, "IGNORE_GROWTH"); 49 50 if (!pmGrowthCurveGenerate (readout, psf, IGNORE_GROWTH, maskVal, markVal)) { 50 psError(PSPHOT_ERR_APERTURE, false, "Fitting aperture corrections"); 51 // psError(PSPHOT_ERR_APERTURE, false, "Fitting aperture corrections"); 52 psWarning("Failed to measure the growth curve for aperture corrections (from model)"); 51 53 psFree(psf->growth); psf->growth = NULL; 52 return false;54 return true; 53 55 } 54 56 }
Note:
See TracChangeset
for help on using the changeset viewer.
