IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26444


Ignore:
Timestamp:
Dec 16, 2009, 3:55:38 PM (16 years ago)
Author:
bills
Message:

add dqstatstool to ignorelist

Location:
trunk/ippTools/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src

    • Property svn:ignore
      •  

        old new  
        1616difftool
        1717disttool
         18dqstastool
        1819faketool
        1920flatcorr
  • trunk/ippTools/src/magicdstool.c

    r25935 r26444  
    598598    PXOPT_LOOKUP_STR(recovery_path_base, config->args, "-recovery_path_base", false, false);
    599599    PXOPT_LOOKUP_BOOL(setmagicked, config->args, "-setmagicked", false);
     600    PXOPT_LOOKUP_F32(streak_frac, config->args, "-streak_frac", false, false);
     601    PXOPT_LOOKUP_F32(run_time, config->args, "-run_time", false, false);
    600602
    601603    if (setmagicked && (fault != 0)) {
     
    620622    }
    621623
    622     if (!magicDSFileInsert(config->dbh, magic_ds_id, component, backup_path_base, recovery_path_base, fault, "full")) {
     624    if (!magicDSFileInsert(config->dbh,
     625            magic_ds_id,
     626            component,
     627            backup_path_base,
     628            recovery_path_base,
     629            streak_frac,
     630            run_time,
     631            fault,
     632            "full"  // data_state
     633        )) {
    623634            // rollback
    624635        if (!psDBRollback(config->dbh)) {
  • trunk/ippTools/src/magicdstoolConfig.c

    r25843 r26444  
    102102    psMetadataAddStr(adddestreakedfileArgs, PS_LIST_TAIL, "-recovery_path_base", 0, "define recovery pixels URI", NULL);
    103103    psMetadataAddBool(adddestreakedfileArgs, PS_LIST_TAIL, "-setmagicked", 0, "update the magicked state of the file", false);
     104    psMetadataAddF32(todestreakArgs, PS_LIST_TAIL, "-masked_frac", 0, "set fraction of pixels masked by streaks", 0);
     105    psMetadataAddF32(todestreakArgs, PS_LIST_TAIL, "-run_time", 0, "set the streaksremove run time for component ", 0);
    104106    psMetadataAddS16(adddestreakedfileArgs, PS_LIST_TAIL, "-fault", 0, "set fault code", 0);
    105107
  • trunk/ippTools/src/receivetool.c

    r24784 r26444  
    105105    // optional
    106106    PXOPT_LOOKUP_STR(comment, config->args, "-comment",  false, false);
     107    PXOPT_LOOKUP_STR(state, config->args, "-state",  false, false);
    107108    PXOPT_LOOKUP_STR(last, config->args, "-last",  false, false);
    108109    PXOPT_LOOKUP_STR(status_product, config->args, "-status_product",  false, false);
     
    110111    PXOPT_LOOKUP_STR(ds_dbhost, config->args, "-ds_dbhost",  false, false);
    111112
    112     if (!receiveSourceInsert(config->dbh, 0, source, product, workdir, comment, last, status_product, ds_dbname, ds_dbhost)) {
     113    if (!receiveSourceInsert(config->dbh, 0, source, product, workdir, state, comment, last, status_product, ds_dbname, ds_dbhost)) {
    113114        psError(PS_ERR_UNKNOWN, false, "Database error");
    114115        return false;
     
    142143    if (psListLength(where->list)) {
    143144        psString whereClause = psDBGenerateWhereConditionSQL(where, NULL);
    144         psStringAppend(&query, " WHERE %s", whereClause);
     145        psStringAppend(&query, " AND %s", whereClause);
    145146        psFree(whereClause);
    146147    }
  • trunk/ippTools/src/receivetoolConfig.c

    r24125 r26444  
    4949    psMetadataAddStr(definesourceArgs, PS_LIST_TAIL, "-workdir",   0, "define workdir (required)", NULL);
    5050    psMetadataAddStr(definesourceArgs, PS_LIST_TAIL, "-comment", 0, "define comment", NULL);
     51    psMetadataAddStr(definesourceArgs, PS_LIST_TAIL, "-state", 0, "define state", "enabled");
    5152    psMetadataAddStr(definesourceArgs, PS_LIST_TAIL, "-last", 0, "define last fileset", NULL);
    5253    psMetadataAddStr(definesourceArgs, PS_LIST_TAIL, "-status_product", 0, "define status_product", NULL);
Note: See TracChangeset for help on using the changeset viewer.