IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 14, 2008, 5:31:55 PM (18 years ago)
Author:
Paul Price
Message:

Removing uri out of magictool -toprocess. Adding magictool -node to get the URIs. I'm worried that pantasks won't be able to handle the MULTI uri. This way, pantasks uses -toprocess, passes the name of the node to process on to a script, and the script can get the list of inputs with -node.

File:
1 edited

Legend:

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

    r18523 r18524  
    112112    psMetadataAddS16(inputtreeArgs, PS_LIST_TAIL, "-code",  0, "set fault code", 0);
    113113
     114    // -node
     115    psMetadata *nodeArgs = psMetadataAlloc();
     116    psMetadataAddStr(nodeArgs, PS_LIST_TAIL, "-magic_id", 0,
     117            "search by magictool ID", NULL);
     118    psMetadataAddStr(nodeArgs, PS_LIST_TAIL, "-node",  0,
     119            "search by symbolic node name", NULL);
     120    psMetadataAddU64(nodeArgs, PS_LIST_TAIL, "-limit",  0,
     121            "limit result set to N items", 0);
     122    psMetadataAddBool(nodeArgs, PS_LIST_TAIL, "-simple",  0,
     123            "use the simple output format", false);
     124
    114125    // -tooprocess
    115126    psMetadata *toprocessArgs = psMetadataAlloc();
     
    159170    PXOPT_ADD_MODE("-toprocess",       "", MAGICTOOL_MODE_TOPROCESS,       toprocessArgs);
    160171    PXOPT_ADD_MODE("-addresult",       "", MAGICTOOL_MODE_ADDRESULT,       addresultArgs);
     172    PXOPT_ADD_MODE("-node",            "", MAGICTOOL_MODE_NODE,            nodeArgs);
    161173    PXOPT_ADD_MODE("-tomask",          "", MAGICTOOL_MODE_TOMASK,          tomaskArgs);
    162174    PXOPT_ADD_MODE("-addmask",         "", MAGICTOOL_MODE_ADDMASK,         addmaskArgs);
     
    218230    addWhereStr(tess_id);
    219231    addWhereStr(exp_id);
     232    addWhereStr(node);
    220233
    221234    // convert '-code' to 'fault'
Note: See TracChangeset for help on using the changeset viewer.