IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7907


Ignore:
Timestamp:
Jul 14, 2006, 10:17:28 AM (20 years ago)
Author:
rhl
Message:

Support SAVE.OUTPUT by analogy to SAVE.RES. N.b. defaults to true for backward compatibility

File:
1 edited

Legend:

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

    r7620 r7907  
    2727
    2828    // these calls bind the I/O handle to the specified fpa
    29     pmFPAfileDefineOutput (config, input->fpa, "PSPHOT.OUTPUT");
     29    if (!psMetadataLookup(recipe, "SAVE.OUTPUT") ||
     30        psMetadataLookupBool(NULL, recipe, "SAVE.OUTPUT")) {
     31        if (!pmFPAfileDefineOutput (config, input->fpa, "PSPHOT.OUTPUT")) {
     32            psError(PS_ERR_IO, false, "Cannot find a rule for PSPHOT.OUTPUT");
     33            return false;
     34        }
     35    }
    3036
    3137    // optionally save the residual image
Note: See TracChangeset for help on using the changeset viewer.