IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 1, 2006, 3:05:04 PM (20 years ago)
Author:
Paul Price
Message:

Updating to use psModules head --- pmConfigRead changed, and pmConfigDB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/chiptoolConfig.c

    r6978 r7027  
    1212    }
    1313
    14     if (! pmConfigRead(&config->site, &config->camera, &config->recipe, &argc, argv, RECIPE)) {
     14    config->modules = pmConfigRead(&argc, argv);
     15    if (! config->modules) {
    1516        psErrorStackPrint(stderr, "Can't find site configuration!\n");
    1617        exit(EXIT_FAILURE);
     
    5960        config->mode = PX_MODE_DONE;
    6061    }
    61    
    62     // paul's argument parsing convention requires: -key value 
     62
     63    // paul's argument parsing convention requires: -key value
    6364    psMetadataAddBool(arguments, PS_LIST_TAIL, "-quick",   0, "examine raw image table, write ppImage output", false);
    6465    psMetadataAddStr(arguments, PS_LIST_TAIL, "-define",  0, "examine raw image table, add to pending image table", "");
     
    158159
    159160    // define Database handle, if used
    160     config->dbh = pmConfigDB(config->site);
     161    config->dbh = pmConfigDB(config->modules);
    161162
    162163    return true;
    163 } 
     164}
Note: See TracChangeset for help on using the changeset viewer.