IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20410


Ignore:
Timestamp:
Oct 26, 2008, 5:16:52 PM (18 years ago)
Author:
eugene
Message:

convert to new psphotInit function

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImagePhotom.c

    r18636 r20410  
    1212    pmReadout *readout;
    1313
    14     psphotModelClassInit ();
     14    psphotInit ();
    1515
    1616    // find or define a pmFPAfile PSPHOT.INPUT
  • trunk/ppSim/src/ppSimPhotom.c

    r18011 r20410  
    1313    if (!doPhotom) return true;
    1414   
    15     psphotModelClassInit ();
     15    psphotInit ();
    1616
    1717    int blankMask = 0;          // XXX not sure what this should be set to...
  • trunk/ppStack/src/ppStack.c

    r18650 r20410  
    3838    }
    3939
     40    if (!psphotInit()) {
     41        psErrorStackPrint(stderr, "Error initialising psphot.\n");
     42        exitValue = PS_EXIT_PROG_ERROR;
     43        goto die;
     44    }
     45
    4046    if (!ppStackCamera(config)) {
    4147        psErrorStackPrint(stderr, "Error setting up input files.\n");
  • trunk/ppSub/src/ppSub.c

    r19119 r20410  
    2424    if (!pmModelClassInit()) {
    2525        psErrorStackPrint(stderr, "Error initialising model classes.\n");
     26        exitValue = PS_EXIT_PROG_ERROR;
     27        goto die;
     28    }
     29
     30    if (!psphotInit()) {
     31        psErrorStackPrint(stderr, "Error initialising psphot.\n");
    2632        exitValue = PS_EXIT_PROG_ERROR;
    2733        goto die;
  • trunk/pswarp/src/pswarp.c

    r20286 r20410  
    2020    // models defined in psphot/src/models are not available in psastro
    2121    pmModelClassInit();
     22
     23    // init various psphot pieces (errors, models, threads)
     24    psphotInit();
    2225
    2326    pmConfig *config = pswarpArguments(argc, argv);
Note: See TracChangeset for help on using the changeset viewer.