IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11687


Ignore:
Timestamp:
Feb 7, 2007, 1:58:17 PM (19 years ago)
Author:
jhoblitt
Message:

update psAbort() API

Location:
trunk/psModules/src
Files:
27 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryUtils.c

    r10867 r11687  
    77 *  @author EAM, IfA
    88 *
    9  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2007-01-01 21:04:10 $
     9 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2007-02-07 23:58:17 $
    1111 *
    1212 *  Copyright 2006 Institute for Astronomy, University of Hawaii
     
    134134
    135135    if (order < 1)
    136         psAbort ("psastro", "invalid order");
     136        psAbort("invalid order");
    137137    if (order > 3)
    138         psAbort ("psastro", "invalid order");
     138        psAbort("invalid order");
    139139
    140140    // all coeffs and masks initially set to 0
     
    237237
    238238    if (order < 1)
    239         psAbort ("psastro", "invalid order");
     239        psAbort("invalid order");
    240240    if (order > 3)
    241         psAbort ("psastro", "invalid order");
     241        psAbort("invalid order");
    242242
    243243    // all coeffs and masks initially set to 0
  • trunk/psModules/src/astrom/pmAstrometryWCS.c

    r11626 r11687  
    77 *  @author EAM, IfA
    88 *
    9  *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2007-02-03 06:34:28 $
     9 *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2007-02-07 23:58:17 $
    1111 *
    1212 *  Copyright 2006 Institute for Astronomy, University of Hawaii
     
    5858    // technically, we can have a plate scale here (fpa->toTPA:dx,dy != 1)
    5959    if (!psPlaneTransformIsDiagonal (fpa->toTPA))
    60         psAbort ("psastro", "invalid TPA transformation");
     60        psAbort("invalid TPA transformation");
    6161
    6262    pmAstromWCS *wcs = pmAstromWCSfromFPA(fpa, chip, tol);
     
    396396
    397397        if (fpa->toTPA == NULL)
    398             psAbort ("wcs", "projection defined, tangent-plane not defined");
     398            psAbort("projection defined, tangent-plane not defined");
    399399        if (fpa->fromTPA == NULL)
    400             psAbort ("wcs", "projection defined, tangent-plane not defined");
     400            psAbort("projection defined, tangent-plane not defined");
    401401
    402402        // convert from pixels on this chip to pixels on reference chip
     
    524524    // XXX not really: toTPA needs to have unity scale for distortion fitting function
    525525    if (!psPlaneTransformIsDiagonal (fpa->toTPA))
    526         psAbort ("psastro", "invalid TPA transformation");
     526        psAbort("invalid TPA transformation");
    527527
    528528    // XXX require chip->toFPA->x->nX == chip->toFPA->x->nY
  • trunk/psModules/src/camera/pmFPALevel.c

    r9621 r11687  
    3030        return NameREADOUT;
    3131    default:
    32         psAbort(PS_FILE_LINE, "You can't get here; level = %d", level);
     32        psAbort("You can't get here; level = %d", level);
    3333    }
    3434    return NULL;
  • trunk/psModules/src/camera/pmFPAMosaic.c

    r11255 r11687  
    497497                COPY_WITH_PARITY_DIFFERENCE(U8);
    498498            default:
    499                 psAbort(__func__, "Should never get here.\n");
     499                psAbort("Should never get here.\n");
    500500            }
    501501
     
    526526                FILL_IN(U8);
    527527            default:
    528                 psAbort(__func__, "Should never get here.\n");
     528                psAbort("Should never get here.\n");
    529529            }
    530530
  • trunk/psModules/src/camera/pmFPARead.c

    r11624 r11687  
    138138        }
    139139    } else {
    140         psAbort(__func__, "Read direction can only be 1 (rows) or 2 (cols).\n");
     140        psAbort("Read direction can only be 1 (rows) or 2 (cols).\n");
    141141    }
    142142
     
    204204        break;
    205205    default:
    206         psAbort(__func__, "Unknown read type: %x\n", type);
     206        psAbort("Unknown read type: %x\n", type);
    207207    }
    208208
     
    258258            break;
    259259        default:
    260             psAbort(__func__, "Unknown read type: %x\n", type);
     260            psAbort("Unknown read type: %x\n", type);
    261261        }
    262262
  • trunk/psModules/src/camera/pmFPAWrite.c

    r11626 r11687  
    8686        return &hdu->weights;
    8787    default:
    88         psAbort(__func__, "Unknown write type: %x\n", type);
     88        psAbort("Unknown write type: %x\n", type);
    8989    }
    9090    return NULL;
     
    105105        return pmHDUWriteWeight(hdu, fits);
    106106    default:
    107         psAbort(__func__, "Unknown write type: %x\n", type);
     107        psAbort("Unknown write type: %x\n", type);
    108108    }
    109109    return false;
  • trunk/psModules/src/camera/pmFPAfileDefine.c

    r11475 r11687  
    768768    // a camera config is needed (as source of file rule)
    769769    if (config->cameraName == NULL) {
    770         psAbort ("pmFPAfileDefine", "camera defined but not cameraName!");
     770        psAbort("camera defined but not cameraName!");
    771771    }
    772772
     
    807807    psMetadata *recipe  = psMetadataLookupPtr (&status, config->recipes, "PPIMAGE");
    808808    if (!status)
    809         psAbort ("psModules", "PPIMAGE recipe not found");
     809        psAbort("PPIMAGE recipe not found");
    810810    psMetadata *detConstraints = psMetadataLookupPtr (&status, recipe, "DETREND.CONSTRAINTS");
    811811    if (!status)
    812         psAbort ("psModules", "DETREND.CONSTRAINTS not found");
     812        psAbort("DETREND.CONSTRAINTS not found");
    813813    // XXX allow this and just skip?
    814814
     
    816816    psMetadata *constraints = psMetadataLookupPtr (&status, detConstraints, typeName);
    817817    if (!status) {
    818         psAbort ("psModules", "DETREND.CONSTRAINTS for type %s not found", typeName);
     818        psAbort("DETREND.CONSTRAINTS for type %s not found", typeName);
    819819    }
    820820    psFree(typeName);
     
    825825    while ((item = psMetadataGetAndIncrement (iter)) != NULL) {
    826826        if (item->type != PS_DATA_STRING) {
    827             psAbort ("psModules", "invalid type for DETREND.CONSTRAINT element");
     827            psAbort("invalid type for DETREND.CONSTRAINT element");
    828828        }
    829829        char *option  = item->name;     // item->name must correspond to a valid detselect option
     
    833833            options->filter = psMetadataLookupPtr (&status, input->concepts, concept);
    834834            if (!status)
    835                 psAbort ("psModules", "failed to find filter (concept %s)", concept);
     835                psAbort("failed to find filter (concept %s)", concept);
    836836
    837837        }
     
    839839            options->exptime = psMetadataLookupF32 (&status, input->concepts, concept);
    840840            if (!status)
    841                 psAbort ("psModules", "exptime not found (concept %s)", concept);
     841                psAbort("exptime not found (concept %s)", concept);
    842842        }
    843843        if (!strcasecmp (option, "airmass")) {
    844844            options->airmass = psMetadataLookupF32 (&status, input->concepts, concept);
    845845            if (!status)
    846                 psAbort ("psModules", "airmass not found (concept %s)", concept);
     846                psAbort("airmass not found (concept %s)", concept);
    847847        }
    848848        # if (0)
     
    850850                options->dettemp = psMetadataLookupF32 (&status, input->concepts, concept);
    851851                if (!status)
    852                     psAbort ("psModules", "dettemp not found (concept %s)", concept);
     852                    psAbort("dettemp not found (concept %s)", concept);
    853853            }
    854854        if (!strcasecmp (option, "version")) {
     
    856856            options->version = psMetadataLookupF32 (&status, input->concepts, concept);
    857857            if (!status)
    858                 psAbort ("psModules", "version not found (concept %s)", concept);
     858                psAbort("version not found (concept %s)", concept);
    859859        }
    860860        if (!strcasecmp (option, "twilight")) {
     
    863863            options->twilight = psMetadataLookupF32 (&status, input->concepts, concept);
    864864            if (!status)
    865                 psAbort ("psModules", "twilight not found (concept %s)", concept);
     865                psAbort("twilight not found (concept %s)", concept);
    866866        }
    867867        # endif
  • trunk/psModules/src/camera/pmFPAfileFitsIO.c

    r11339 r11687  
    4747    case PM_FPA_LEVEL_NONE:
    4848    default:
    49         psAbort(PS_FILE_LINE, "Should never get here: bad phu level.\n");
     49        psAbort("Should never get here: bad phu level.\n");
    5050    }
    5151
     
    8787    case PM_FPA_LEVEL_NONE:
    8888    default:
    89         psAbort(PS_FILE_LINE, "Should never get here: bad phu level.\n");
     89        psAbort("Should never get here: bad phu level.\n");
    9090    }
    9191    return NULL;
     
    280280    case PM_FPA_LEVEL_NONE:
    281281    default:
    282         psAbort(PS_FILE_LINE, "Should never reach here: invalid file level.");
     282        psAbort("Should never reach here: invalid file level.");
    283283    }
    284284
  • trunk/psModules/src/camera/pmFPAfileIO.c

    r11450 r11687  
    7575            }
    7676        default:
    77             psAbort ("pmFPAfileIO", "fileLevel not correctly set");
     77            psAbort("fileLevel not correctly set");
    7878            break;
    7979        }
     
    126126            }
    127127        default:
    128             psAbort ("pmFPAfileIO", "fileLevel not correctly set");
     128            psAbort("fileLevel not correctly set");
    129129            break;
    130130        }
     
    800800            break;
    801801        default:
    802             psAbort(PS_FILE_LINE, "You can't get here");
     802            psAbort("You can't get here");
    803803        }
    804804    }
     
    821821            break;
    822822        default:
    823             psAbort(PS_FILE_LINE, "You can't get here");
     823            psAbort("You can't get here");
    824824        }
    825825    }
  • trunk/psModules/src/camera/pmFPAview.c

    r9710 r11687  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-10-21 04:02:36 $
     5 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-02-07 23:58:17 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    289289        hdu  = pmHDUFromCell (cell);
    290290        if (!hdu) {
    291             psAbort("psModules", "a split readout is not covered by the current paradigm");
     291            psAbort("a split readout is not covered by the current paradigm");
    292292        }
    293293        if (hdu->blankPHU)
  • trunk/psModules/src/camera/pmHDUGenerate.c

    r11254 r11687  
    119119        break;
    120120    default:
    121         psAbort(__func__, "Shouldn't ever get here!\n");
     121        psAbort("Shouldn't ever get here!\n");
    122122    }
    123123
     
    381381            psRegion *trimsec = psMetadataLookupPtr(&mdok, cell->concepts, "CELL.TRIMSEC"); // Trim section
    382382            if (!mdok || !trimsec) {
    383                 psAbort(__func__, "Shouldn't ever get here --- CELL.TRIMSEC should have been set above.\n");
     383                psAbort("Shouldn't ever get here --- CELL.TRIMSEC should have been set above.\n");
    384384            }
    385385            psList *biassecs = psMetadataLookupPtr(&mdok, cell->concepts, "CELL.BIASSEC"); // Bias secionts
    386386            if (!mdok || !biassecs) {
    387                 psAbort(__func__, "Shouldn't ever get here --- CELL.BIASSEC should have been set above.\n");
     387                psAbort("Shouldn't ever get here --- CELL.BIASSEC should have been set above.\n");
    388388            }
    389389            psListIterator *biassecsIter = psListIteratorAlloc(biassecs, PS_LIST_HEAD, false); // Iterator
     
    557557        return pmHDUGenerateForChip(cell->parent);
    558558    default:
    559         psAbort(__func__, "Shouldn't ever get here: check your camera format configuration.\n");
     559        psAbort("Shouldn't ever get here: check your camera format configuration.\n");
    560560    }
    561561    return false;
     
    605605        return pmHDUGenerateForFPA(chip->parent);
    606606    default:
    607         psAbort(__func__, "Shouldn't ever get here: check your camera format configuration.\n");
     607        psAbort("Shouldn't ever get here: check your camera format configuration.\n");
    608608    }
    609609    return false;
     
    647647        }
    648648    default:
    649         psAbort(__func__, "Shouldn't ever get here: check your camera format configuration.\n");
     649        psAbort("Shouldn't ever get here: check your camera format configuration.\n");
    650650    }
    651651    return false;
  • trunk/psModules/src/concepts/pmConceptsStandard.c

    r11527 r11687  
    4040        return M_PI / 180.0;
    4141    }
    42     psAbort(__func__, "Should never ever get here.\n");
     42    psAbort("Should never ever get here.\n");
    4343    return NAN;
    4444}
  • trunk/psModules/src/config/pmConfig.c

    r11396 r11687  
    44 *  @author EAM (IfA)
    55 *
    6  *  @version $Revision: 1.76 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2007-01-30 00:05:16 $
     6 *  @version $Revision: 1.77 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2007-02-07 23:58:17 $
    88 *
    99 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    10061006        FILE *f = fopen (config->argv[Narg], "r");
    10071007        if (f == NULL) {
    1008             psAbort ("psphot", "unable to open specified list file");
     1008            psAbort("unable to open specified list file");
    10091009        }
    10101010        while (fgets (line, 1024, f) != NULL) {
     
    10201020            default:
    10211021                // rigid format, no comments allowed?
    1022                 psAbort ("pmConfig", "error parsing input list file");
     1022                psAbort("error parsing input list file");
    10231023                break;
    10241024            }
  • trunk/psModules/src/config/pmConfigCamera.c

    r11624 r11687  
    118118        break;
    119119    default:
    120         psAbort(PS_FILE_LINE, "Should never get here.\n");
     120        psAbort("Should never get here.\n");
    121121    }
    122122
     
    144144            break;
    145145        default:
    146             psAbort(PS_FILE_LINE, "Should never get here.\n");
     146            psAbort("Should never get here.\n");
    147147        }
    148148
     
    199199            break;
    200200        default:
    201             psAbort(PS_FILE_LINE, "Should never get here.\n");
     201            psAbort("Should never get here.\n");
    202202        }
    203203
     
    252252            break;
    253253        default:
    254             psAbort(PS_FILE_LINE, "Should never get here.\n");
     254            psAbort("Should never get here.\n");
    255255        }
    256256
  • trunk/psModules/src/config/pmConfigRecipes.c

    r11676 r11687  
    126126    if (optionsItem) {
    127127        if (optionsItem->type != PS_DATA_METADATA) {
    128             psAbort(__func__, "OPTIONS is not of type METADATA.");
     128            psAbort("OPTIONS is not of type METADATA.");
    129129        }
    130130        options = psMemIncrRefCounter(optionsItem->data.V);
     
    220220    if (recipesItem) {
    221221        if (recipesItem->type != PS_DATA_METADATA) {
    222             psAbort(__func__, "RECIPES is not of type METADATA.");
     222            psAbort("RECIPES is not of type METADATA.");
    223223        }
    224224        recipes = psMemIncrRefCounter(recipesItem->data.V);
     
    256256                psFree(recipe);                 // Drop reference
    257257            } else {
    258                 psAbort ("pmConfig.c", "error reading config file %s\n", recipeSource);
     258                psAbort("error reading config file %s\n", recipeSource);
    259259            }
    260260        } else {
     
    284284    assert(config);
    285285    if ((sourceType != PM_RECIPE_SOURCE_SITE) && (sourceType != PM_RECIPE_SOURCE_CAMERA)) {
    286         psAbort ("pmConfig", "invalid source for loadRecipes");
     286        psAbort("invalid source for loadRecipes");
    287287    }
    288288    if (!source) {
     
    308308        // type mismatch is a serious error
    309309        if (fileItem->type != PS_DATA_STRING) {
    310             psAbort ("pmConfig", "%s in %s RECIPES is not of type STR", fileItem->name, sourceName);
     310            psAbort("%s in %s RECIPES is not of type STR", fileItem->name, sourceName);
    311311        }
    312312
     
    323323        if (currentItem) {
    324324            if (currentItem->type != PS_DATA_METADATA) {
    325                 psAbort(__func__, "Item from recipes is not of type METADATA.");
     325                psAbort("Item from recipes is not of type METADATA.");
    326326            }
    327327            current = psMemIncrRefCounter(currentItem->data.V);
     
    364364        // type mismatch is a serious error
    365365        if (item->type != PS_DATA_METADATA) {
    366             psAbort ("pmConfig", "%s in config arguments RECIPES is not of type METADATA", item->name);
     366            psAbort("%s in config arguments RECIPES is not of type METADATA", item->name);
    367367        }
    368368        // increment the ref counter to protect the data
     
    470470        // type mismatch is a serious error
    471471        if (item->type != PS_DATA_METADATA) {
    472             psAbort ("pmConfig", "%s in config arguments OPTIONS is not of type METADATA", item->name);
     472            psAbort("%s in config arguments OPTIONS is not of type METADATA", item->name);
    473473        }
    474474        // increment the ref counter to protect the data
  • trunk/psModules/src/detrend/pmBias.c

    r11626 r11687  
    400400                break;
    401401            default:
    402                 psAbort(__func__, "Should never get here!!!\n");
     402                psAbort("Should never get here!!!\n");
    403403            }
    404404
  • trunk/psModules/src/extras/psPipe.c

    r10610 r11687  
    177177                return 0x100;
    178178            default:
    179                 psAbort ("psPipeClose", "unexpected response to waitpid: %d\n", result);
     179                psAbort("unexpected response to waitpid: %d\n", result);
    180180            }
    181181            break;
     
    187187        default:
    188188            if (result != pipe->pid) {
    189                 psAbort ("psPipeClose", "waitpid error: mis-matched PID (%d vs %d).  programming error\n", result, pipe->pid);
     189                psAbort("waitpid error: mis-matched PID (%d vs %d).  programming error\n", result, pipe->pid);
    190190            }
    191191            if (WIFEXITED(wait_status)) {
     
    202202            }
    203203            if (WIFSTOPPED(wait_status)) {
    204                 psAbort ("psPipeClose", "waitpid returns 'stopped' programming error\n");
     204                psAbort("waitpid returns 'stopped' programming error\n");
    205205            }
    206206        }
  • trunk/psModules/src/imcombine/pmReadoutCombine.c

    r10776 r11687  
    212212            break;
    213213        default:
    214             psAbort(__func__, "Should never get here --- checked params->combine before.\n");
     214            psAbort("Should never get here --- checked params->combine before.\n");
    215215        }
    216216        stats->options |= combineStdev;
  • trunk/psModules/src/objects/models/pmModel_GAUSS.c

    r11527 r11687  
    100100            break;
    101101        default:
    102             psAbort ("psModules.pmModel_GAUSS", "invalid parameter %d for beta test", nParam);
     102            psAbort("invalid parameter %d for beta test", nParam);
    103103        }
    104104        if (fabs(beta[nParam]) > fabs(beta_lim)) {
     
    131131            break;
    132132        default:
    133             psAbort ("psModules.pmModel_GAUSS", "invalid parameter %d for param min test", nParam);
     133            psAbort("invalid parameter %d for param min test", nParam);
    134134        }
    135135        if (params[nParam] < params_min) {
     
    162162            break;
    163163        default:
    164             psAbort ("psModules.pmModel_GAUSS", "invalid parameter %d for param max test", nParam);
     164            psAbort("invalid parameter %d for param max test", nParam);
    165165        }
    166166        if (params[nParam] > params_max) {
     
    170170        return true;
    171171    default:
    172         psAbort ("psModules.pmModel_GAUSS", "invalid choice for limits");
    173     }
    174     psAbort ("psModules.pmModel_GAUSS", "should not reach here");
     172        psAbort("invalid choice for limits");
     173    }
     174    psAbort("should not reach here");
    175175    return false;
    176176}
  • trunk/psModules/src/objects/models/pmModel_PGAUSS.c

    r11527 r11687  
    102102            break;
    103103        default:
    104             psAbort ("psModules.pmModel_GAUSS", "invalid parameter %d for beta test", nParam);
     104            psAbort("invalid parameter %d for beta test", nParam);
    105105        }
    106106        if (fabs(beta[nParam]) > fabs(beta_lim)) {
     
    133133            break;
    134134        default:
    135             psAbort ("psModules.pmModel_GAUSS", "invalid parameter %d for param min test", nParam);
     135            psAbort("invalid parameter %d for param min test", nParam);
    136136        }
    137137        if (params[nParam] < params_min) {
     
    164164            break;
    165165        default:
    166             psAbort ("psModules.pmModel_GAUSS", "invalid parameter %d for param max test", nParam);
     166            psAbort("invalid parameter %d for param max test", nParam);
    167167        }
    168168        if (params[nParam] > params_max) {
     
    172172        return true;
    173173    default:
    174         psAbort ("psModules.pmModel_GAUSS", "invalid choice for limits");
    175     }
    176     psAbort ("psModules.pmModel_GAUSS", "should not reach here");
     174        psAbort("invalid choice for limits");
     175    }
     176    psAbort("should not reach here");
    177177    return false;
    178178}
     
    262262
    263263    if (isnan(radius))
    264         psAbort ("psphot.model", "error in code: radius is NaN");
     264        psAbort("error in code: radius is NaN");
    265265    if (radius < 0)
    266         psAbort ("psphot.model", "error in code: radius is negative");
     266        psAbort("error in code: radius is negative");
    267267
    268268    return (radius);
  • trunk/psModules/src/objects/models/pmModel_QGAUSS.c

    r11527 r11687  
    120120            break;
    121121        default:
    122             psAbort ("psModules.pmModel_GAUSS", "invalid parameter %d for beta test", nParam);
     122            psAbort("invalid parameter %d for beta test", nParam);
    123123        }
    124124        if (fabs(beta[nParam]) > fabs(beta_lim)) {
     
    154154            break;
    155155        default:
    156             psAbort ("psModules.pmModel_GAUSS", "invalid parameter %d for param min test", nParam);
     156            psAbort("invalid parameter %d for param min test", nParam);
    157157        }
    158158        if (params[nParam] < params_min) {
     
    188188            break;
    189189        default:
    190             psAbort ("psModules.pmModel_GAUSS", "invalid parameter %d for param max test", nParam);
     190            psAbort("invalid parameter %d for param max test", nParam);
    191191        }
    192192        if (params[nParam] > params_max) {
     
    196196        return true;
    197197    default:
    198         psAbort ("psModules.pmModel_GAUSS", "invalid choice for limits");
    199     }
    200     psAbort ("psModules.pmModel_GAUSS", "should not reach here");
     198        psAbort("invalid choice for limits");
     199    }
     200    psAbort("should not reach here");
    201201    return false;
    202202}
     
    321321
    322322    if (isnan(radius))
    323         psAbort ("psphot.model", "error in code: radius is NaN");
     323        psAbort("error in code: radius is NaN");
    324324
    325325    return (radius);
  • trunk/psModules/src/objects/models/pmModel_RGAUSS.c

    r9775 r11687  
    219219
    220220    if (isnan(radius))
    221         psAbort ("psphot.model", "error in code: radius is NaN");
     221        psAbort("error in code: radius is NaN");
    222222
    223223    return (radius);
  • trunk/psModules/src/objects/pmPSF_IO.c

    r11292 r11687  
    66 *  @author EAM, IfA
    77 *
    8  *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2007-01-26 00:05:18 $
     8 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2007-02-07 23:58:17 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8787    int nPar = psMetadataLookupS32 (&status, metadata, "PSF_MODEL_NPAR");
    8888    if (nPar != pmModelParameterCount (psf->type))
    89         psAbort ("read PSF" , "mismatch model par count");
     89        psAbort("mismatch model par count");
    9090
    9191    // un-fitted terms, not in the Metadata, are left NULL
  • trunk/psModules/src/objects/pmSourceFitModel.c

    r10259 r11687  
    66 *  @author GLG, MHPCC
    77 *
    8  *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2006-11-29 02:41:31 $
     8 *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2007-02-07 23:58:17 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    112112    pmModelFunc modelFunc = pmModelFunc_GetFunction (model->type);
    113113    if (!modelFunc)
    114         psAbort ("pmSourceFitModel", "invalid model function");
     114        psAbort("invalid model function");
    115115    pmModelLimits checkLimits = pmModelLimits_GetFunction (model->type);
    116116    if (!checkLimits)
    117         psAbort ("pmSourceFitModel", "invalid model limits function");
     117        psAbort("invalid model limits function");
    118118
    119119    // create the minimization constraints
     
    146146        break;
    147147    default:
    148         psAbort ("pmSourceFitModel", "invalid fitting mode");
     148        psAbort("invalid fitting mode");
    149149    }
    150150    // force the floating parameters to fall within the contraint ranges
     
    448448        break;
    449449    default:
    450         psAbort ("pmSourceFitModel", "invalid fitting mode");
     450        psAbort("invalid fitting mode");
    451451    }
    452452
  • trunk/psModules/src/objects/pmSourceIO.c

    r11303 r11687  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-01-26 04:40:42 $
     5 *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-02-07 23:58:17 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    494494            dataname = pmFPAfileNameFromRule (file->extrule, file, view);
    495495            if (!dataname)
    496                 psAbort ("pmSourceIO", "cannot determine data EXTNAME");
     496                psAbort("cannot determine data EXTNAME");
    497497        }
    498498        if (!psFitsMoveExtName (file->fits, dataname)) {
    499             psAbort ("pmSourceIO", "cannot find data extension %s in %s", dataname, file->filename);
     499            psAbort("cannot find data extension %s in %s", dataname, file->filename);
    500500        }
    501501        sources = pmSourcesReadCMF (file->fits, hdu->header);
  • trunk/psModules/src/objects/pmSourceIO_CMP.c

    r11582 r11687  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-02-02 19:55:15 $
     5 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-02-07 23:58:17 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
  • trunk/psModules/src/objects/pmSourcePhotometry.c

    r11527 r11687  
    33 *  @author EAM, IfA; GLG, MHPCC
    44 *
    5  *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-02-01 03:15:13 $
     5 *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-02-07 23:58:17 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    507507                break;
    508508            default:
    509                 psAbort ("models/objects", "invalid term for pmSourceWeight");
     509                psAbort("invalid term for pmSourceWeight");
    510510            }
    511511
Note: See TracChangeset for help on using the changeset viewer.