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/psphotChoosePSF.c

    r11306 r11702  
    1515    psf = psMetadataLookupPtr (NULL, readout->analysis, "PSPHOT.PSF");
    1616    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");
    1818        return psf;
    1919    }
     
    9696    psList *list = NULL;
    9797    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");
    9999
    100100    if (mdi->type == PS_DATA_STRING) {
     
    102102        psListAdd (list, PS_LIST_HEAD, mdi);
    103103    } 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");
    105105        list = psMemIncrRefCounter(mdi->data.list);
    106106    }
     
    247247    psFree (models);
    248248
    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");
    250250
    251251    modelName = pmModelGetType (psf->type);
Note: See TracChangeset for help on using the changeset viewer.