IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 12, 2009, 7:22:47 PM (17 years ago)
Author:
Paul Price
Message:

Dump configuration on completion of processing, not before.

File:
1 edited

Legend:

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

    r23298 r23315  
    397397    psTrace("ppSub", 1, "Done reading command-line arguments\n");
    398398
    399     // Dump configuration, now that's it's settled
    400     psBool status;
    401     psString dump_file =  psMetadataLookupStr(&status, config->arguments, "-dumpconfig");
    402     if (dump_file) {
    403         pmConfigCamerasCull(config, NULL);
    404         pmConfigRecipesCull(config, "PPSUB,PPSTATS,PSPHOT,MASKS,JPEG");
    405 
    406         pmFPAfile *input = psMetadataLookupPtr(NULL, config->files, "PPSUB.INPUT"); // Input file
    407         pmConfigDump(config, input->fpa, dump_file);
    408     }
    409 
    410399    // XXX move this to ppSubArguments
    411400    int threads = psMetadataLookupS32(NULL, config->arguments, "-threads"); // Number of threads
Note: See TracChangeset for help on using the changeset viewer.