IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16146


Ignore:
Timestamp:
Jan 18, 2008, 3:51:09 PM (18 years ago)
Author:
jhoblitt
Message:

remove old PXTOOL_MODE macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/end_stage/ippTools/src/pztoolConfig.c

    r16144 r16146  
    114114    psMetadataAddStr(copydoneArgs, PS_LIST_TAIL, "-uri", 0,
    115115            "define storage uri", NULL);
    116 
    117 #define PXTOOL_MODE(option, modeval, argset) \
    118 { \
    119     int N = 0; \
    120     if ((N = psArgumentGet (argc, argv, option))) { \
    121         psArgumentRemove (N, &argc, argv); \
    122         if (config->mode) { \
    123             psError(PS_ERR_UNKNOWN, true, "only one mode selection is allowed"); \
    124             psFree(config); \
    125             return NULL; \
    126         } \
    127         config->mode = modeval; \
    128         config->args = psMemIncrRefCounter(argset); \
    129     } \
    130     if (!psMetadataAddMetadata(argSets, PS_LIST_TAIL, option, 0, NULL, argset)) {;\
    131         psError(PS_ERR_UNKNOWN, false, "failed to add argset for %s", option); \
    132     } \
    133     psFree(argset); \
    134 }
     116    psMetadataAddStr(copydoneArgs, PS_LIST_TAIL, "-workdir",  0,
     117        "define the \"default\" workdir for this exposure", NULL);
     118    psMetadataAddStr(copydoneArgs, PS_LIST_TAIL, "-dvodb",  0,
     119        "define the dvodb for the next processing step", NULL);
     120    psMetadataAddStr(copydoneArgs, PS_LIST_TAIL, "-tess_id",  0,
     121        "define the tess_id for the next processing step", NULL);
     122    psMetadataAddStr(copydoneArgs, PS_LIST_TAIL, "-end_stage",  0,
     123        "define the end goal processing step", NULL);
    135124
    136125    psMetadata *argSets = psMetadataAlloc();
Note: See TracChangeset for help on using the changeset viewer.