IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 5, 2008, 11:52:02 AM (18 years ago)
Author:
Paul Price
Message:

Adding configuration dumping. Required reorganisation of how recipe values get into the program. Formerly, the command-line and recipe values were parsed and the result was put on config->arguments. Now, we want whatever was altered by the command-line to be reflected in the recipe (which is dumped), so using the recipe as the storage. Not yet tested, but will do so soon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubCamera.c

    r18653 r18920  
    143143
    144144    // psPhot input
    145     if (psMetadataLookupBool(NULL, config->arguments, "PHOTOMETRY") ||
    146         psMetadataLookupBool(NULL, recipe, "PHOTOMETRY") ) {
    147         psMetadataAddBool(config->arguments, PS_LIST_TAIL, "PHOTOMETRY", 0, "Perform photometry?", true);
     145    if (psMetadataLookupBool(NULL, recipe, "PHOTOMETRY")) {
    148146        psphotModelClassInit ();        // load implementation-specific models
    149147        pmFPAfile *psphot = pmFPAfileDefineFromFPA(config, output->fpa, 1, 1, "PSPHOT.INPUT");
Note: See TracChangeset for help on using the changeset viewer.