IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 5, 2008, 12:41:58 PM (18 years ago)
Author:
bills
Message:

Get configuration dump file name from command line option. If no file
is provided, no dump is created

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageLoop.c

    r19044 r19399  
    2828    }
    2929
    30     {
     30    psString dump_file = psMetadataLookupStr(&status, config->arguments, "DUMP_CONFIG");
     31    if (dump_file) {
    3132        pmConfigCamerasCull(config, NULL);
    3233        pmConfigRecipesCull(config, "PPIMAGE,PPSTATS,PSPHOT,MASKS,PSASTRO");
    3334
    34         const char *outroot = psMetadataLookupStr(NULL, config->arguments, "OUTPUT"); // Output root name
    35         psAssert(outroot, "Should be there, we put it there!");
    36         pmConfigDump(config, input->fpa, outroot);
     35        pmConfigDump(config, input->fpa, dump_file);
    3736    }
    3837
Note: See TracChangeset for help on using the changeset viewer.