IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2007, 5:52:32 PM (19 years ago)
Author:
jhoblitt
Message:

update psAbort() API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotEnsemblePSF.c

    r11166 r11702  
    3434    psRegion AnalysisRegion = psRegionFromString (region);
    3535    AnalysisRegion = psRegionForImage (readout->image, AnalysisRegion);
    36     if (psRegionIsNaN (AnalysisRegion)) psAbort ("psphot", "analysis region mis-defined");
     36    if (psRegionIsNaN (AnalysisRegion)) psAbort("analysis region mis-defined");
    3737
    3838    bool CONSTANT_PHOTOMETRIC_WEIGHTS =
    3939        psMetadataLookupBool(&status, recipe, "CONSTANT_PHOTOMETRIC_WEIGHTS");
    4040    if (!status) {
    41         psAbort(PS_FILE_LINE, "You must provide a value for the BOOL recipe CONSTANT_PHOTOMETRIC_WEIGHTS");
     41        psAbort("You must provide a value for the BOOL recipe CONSTANT_PHOTOMETRIC_WEIGHTS");
    4242    }
    4343    int SKY_FIT_ORDER = psMetadataLookupS32(&status, recipe, "SKY_FIT_ORDER");
     
    161161
    162162          default:
    163             psAbort(PS_FILE_LINE, "Invalid SKY_FIT_ORDER %d\n", SKY_FIT_ORDER);
     163            psAbort("Invalid SKY_FIT_ORDER %d\n", SKY_FIT_ORDER);
    164164            break;
    165165        }
     
    211211        // assign linearly-fitted normalization
    212212        if (isnan(norm->data.F32[i])) {
    213             psAbort ("psphot", "ensemble source is nan");
     213            psAbort("ensemble source is nan");
    214214        }
    215215        model->params->data.F32[PM_PAR_I0] = norm->data.F32[i];
Note: See TracChangeset for help on using the changeset viewer.