IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13633


Ignore:
Timestamp:
Jun 4, 2007, 5:33:33 PM (19 years ago)
Author:
Paul Price
Message:

Shouldn't have to supply chip_id for -addprocessedexp --- there are multiple chip_ids, and none of them are used in updating the database for the camera step.

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r13580 r13633  
    432432    if (!cam_id) {
    433433        psError(PS_ERR_UNKNOWN, true, "-cam_id is required");
    434         return false;
    435     }
    436 
    437     psString chip_id = psMetadataLookupStr(&status, config->args, "-chip_id");
    438     if (!status) {
    439         psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -chip_id");
    440         return false;
    441     }
    442     if (!chip_id) {
    443         psError(PS_ERR_UNKNOWN, true, "-chip_id is required");
    444434        return false;
    445435    }
  • trunk/ippTools/src/camtoolConfig.c

    r13580 r13633  
    114114            "use the simple output format", false);
    115115
    116    
     116
    117117    // -pendingimfile
    118118    psMetadata *pendingimfileArgs = psMetadataAlloc();
     
    133133    psMetadataAddStr(addprocessedexpArgs, PS_LIST_TAIL, "-cam_id", 0,
    134134            "define camtool ID (required)", NULL);
    135     psMetadataAddStr(addprocessedexpArgs, PS_LIST_TAIL, "-chip_id", 0,
    136             "define chiptool ID (required)", NULL);
    137135    psMetadataAddStr(addprocessedexpArgs, PS_LIST_TAIL, "-uri", 0,
    138136            "define URI (required)", NULL);
     
    190188    psMetadataAddStr(blockArgs, PS_LIST_TAIL, "-label",  0,
    191189            "name of a label to mask out (required)", NULL);
    192    
     190
    193191    // -masked
    194192    psMetadata *maskedArgs = psMetadataAlloc();
    195193    psMetadataAddBool(maskedArgs, PS_LIST_TAIL, "-simple",  0,
    196194            "use the simple output format", false);
    197    
     195
    198196    // -unblock
    199197    psMetadata *unblockArgs = psMetadataAlloc();
     
    202200
    203201    psMetadata *argSets = psMetadataAlloc();
    204     psMetadata *modes = psMetadataAlloc(); 
     202    psMetadata *modes = psMetadataAlloc();
    205203
    206204    PXTOOL_ADD_MODE("-queue",               "", CAMTOOL_MODE_QUEUE,         queueArgs);
     
    268266    // convert '-inst' to 'camera'
    269267    {
    270         psString str = NULL; 
     268        psString str = NULL;
    271269        bool status = false;
    272270        if ((str = psMetadataLookupStr(&status, config->args, "-inst"))) {
     
    281279    addWhereStr(exp_type);
    282280    {
    283         int imfiles = 0; 
     281        int imfiles = 0;
    284282        bool status = false;
    285283        if ((imfiles = psMetadataLookupS32(&status, config->args, "-imfiles"))) {
Note: See TracChangeset for help on using the changeset viewer.