IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23442


Ignore:
Timestamp:
Mar 19, 2009, 3:48:07 PM (17 years ago)
Author:
Paul Price
Message:

Set the photcode for the reduced versions of psphotReadout.

Location:
trunk/psphot/src
Files:
3 edited

Legend:

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

    r21366 r23442  
    1111    if (!recipe) {
    1212        psError(PSPHOT_ERR_CONFIG, false, "missing recipe %s", PSPHOT_RECIPE);
     13        return false;
     14    }
     15
     16    // set the photcode for this image
     17    if (!psphotAddPhotcode(recipe, config, view, "PSPHOT.INPUT")) {
     18        psError(PSPHOT_ERR_CONFIG, false, "trouble defining the photcode");
    1319        return false;
    1420    }
  • trunk/psphot/src/psphotReadoutKnownSources.c

    r21366 r23442  
    1111    if (!recipe) {
    1212        psError(PSPHOT_ERR_CONFIG, false, "missing recipe %s", PSPHOT_RECIPE);
     13        return false;
     14    }
     15
     16    // set the photcode for this image
     17    if (!psphotAddPhotcode(recipe, config, view, "PSPHOT.INPUT")) {
     18        psError(PSPHOT_ERR_CONFIG, false, "trouble defining the photcode");
    1319        return false;
    1420    }
  • trunk/psphot/src/psphotReadoutMinimal.c

    r21366 r23442  
    1919    if (!recipe) {
    2020        psError(PSPHOT_ERR_CONFIG, false, "missing recipe %s", PSPHOT_RECIPE);
     21        return false;
     22    }
     23
     24    // set the photcode for this image
     25    if (!psphotAddPhotcode(recipe, config, view, "PSPHOT.INPUT")) {
     26        psError(PSPHOT_ERR_CONFIG, false, "trouble defining the photcode");
    2127        return false;
    2228    }
Note: See TracChangeset for help on using the changeset viewer.