IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 17, 2012, 4:19:26 PM (15 years ago)
Author:
bills
Message:

when setting entire chip or warp runs to be updated set bad quality components to be full
so that the runs will finish

File:
1 edited

Legend:

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

    r32653 r33112  
    20272027    psFree(setHook);
    20282028    psFree(query);
     2029    // if we are updating a whole chipRun set lingering chips with poor quality to full data_state
     2030    if (!class_id) {
     2031        query = "UPDATE chipProcessedImfile SET data_state ='full', fault = 0 WHERE chip_id = %" PRId64 " AND quality != 0 AND (data_state ='cleaned' OR data_state = 'update')";
     2032       
     2033        if (!p_psDBRunQueryF(config->dbh, query, chip_id)) {
     2034            psError(PS_ERR_UNKNOWN, false, "database error");
     2035            return false;
     2036        }
     2037    }
    20292038
    20302039    return true;
Note: See TracChangeset for help on using the changeset viewer.