IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25522


Ignore:
Timestamp:
Sep 23, 2009, 5:26:34 PM (17 years ago)
Author:
Paul Price
Message:

Was getting PSF variable from wrong place.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpParseCamera.c

    r23355 r25522  
    126126    }
    127127
     128    psMetadata *recipe = psMetadataLookupPtr (&status, config->recipes, PSWARP_RECIPE);
     129    if (!recipe) {
     130        psError(PSPHOT_ERR_CONFIG, false, "missing recipe %s", PSWARP_RECIPE);
     131        return false;
     132    }
     133
    128134    bool mdok;                          // Status of MD lookup
    129     if (psMetadataLookupBool(&mdok, config->arguments, "PSF")) {
     135    if (psMetadataLookupBool(&mdok, recipe, "PSF")) {
    130136        // This file, PSPHOT.INPUT, is just used as a carrier; output files (eg, PSPHOT.RESID) are defined by
    131137        // psphotDefineFiles
Note: See TracChangeset for help on using the changeset viewer.