IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 17, 2012, 4:19:26 PM (14 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/warptool.c

    r32551 r33112  
    25812581    psFree(query);
    25822582
    2583     return true;
    2584 }
     2583    if (!skycell_id) {
     2584        // If we are updateing a whole warpRun set skycells with bad quality to 'full'
     2585        query = "UPDATE warpSkyfile SET data_state ='full', fault = 0 WHERE warp_id = %" PRId64 " AND quality != 0 AND (data_state != 'full')";
     2586        if (!p_psDBRunQueryF(config->dbh, query, warp_id)) {
     2587            psError(PS_ERR_UNKNOWN, false, "database error");
     2588            return false;
     2589        }
     2590    }
     2591
     2592    return true;
     2593}
Note: See TracChangeset for help on using the changeset viewer.