IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18550


Ignore:
Timestamp:
Jul 15, 2008, 10:17:35 AM (18 years ago)
Author:
bills
Message:

forgot to remove EXPOSURE from the file format. Change -request_name
to -req_name since I kept typing it wrong. (This is the way it's spelled
in the request file and in the database)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/src/pstamprequest.c

    r18243 r18550  
    1414
    1515char *str_columns[] = {
     16    "ROWNUM",
    1617    "PROJECT",
    1718    "JOB_TYPE",
     
    124125static void doByExp(int argnum, int *pArgc, char *argv[], psrOptions *options)
    125126{
    126     switch (getType(argnum, pArgc, argv, options, "EXPOSURE")) {
     127    switch (getType(argnum, pArgc, argv, options, "ID")) {
    127128    case PSTAMP_RAW:
    128129        getId("CLASS_ID", argnum, pArgc, argv, options);
     
    156157    options->md = md;
    157158
     159    psMetadataAddStr (md, PS_LIST_TAIL, "ROWNUM", PS_META_REPLACE, "", "1");
     160
    158161    // Job type.
    159162    // "stamp" for make postage stamps.
     
    173176    }
    174177
    175     if ((argnum = psArgumentGet(argc, argv, "-request_name"))) {
     178    if ((argnum = psArgumentGet(argc, argv, "-req_name"))) {
    176179        psArgumentRemove(argnum, &argc, argv);
    177180        if (argc < 2) {
     
    182185        psArgumentRemove(argnum, &argc, argv);
    183186    } else {
    184         psError(PS_ERR_BAD_PARAMETER_VALUE, true, "request name is required\n");
     187        psError(PS_ERR_BAD_PARAMETER_VALUE, true, "req_name is required\n");
    185188        usage();
    186189    }
     
    189192        psArgumentRemove(argnum, &argc, argv);
    190193        if (argc < 2) {
    191             psError(PS_ERR_BAD_PARAMETER_VALUE, true, "value required for project name");
     194            psError(PS_ERR_BAD_PARAMETER_VALUE, true, "project is required");
    192195            usage();
    193196        }
     
    195198        psArgumentRemove(argnum, &argc, argv);
    196199    } else {
    197         psError(PS_ERR_BAD_PARAMETER_VALUE, true, "project name is required\n");
     200        psError(PS_ERR_BAD_PARAMETER_VALUE, true, "project is required\n");
    198201        usage();
    199202    }
Note: See TracChangeset for help on using the changeset viewer.