IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 21, 2008, 3:29:19 PM (18 years ago)
Author:
Paul Price
Message:

Must parse arguments after defining a camera; otherwise can't get camera-dependent recipe values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStack.c

    r17258 r18650  
    2626    (void) psTraceSetLevel("ppStack", 5);
    2727
    28     if (!ppStackArguments(argc, argv, config)) {
     28    if (!ppStackArgumentsSetup(argc, argv, config)) {
    2929        psErrorStackPrint(stderr, "Error reading arguments.\n");
    3030        exitValue = PS_EXIT_CONFIG_ERROR;
     
    4040    if (!ppStackCamera(config)) {
    4141        psErrorStackPrint(stderr, "Error setting up input files.\n");
     42        exitValue = PS_EXIT_CONFIG_ERROR;
     43        goto die;
     44    }
     45
     46    if (!ppStackArgumentsParse(config)) {
     47        psErrorStackPrint(stderr, "Error reading arguments.\n");
    4248        exitValue = PS_EXIT_CONFIG_ERROR;
    4349        goto die;
Note: See TracChangeset for help on using the changeset viewer.