IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28540


Ignore:
Timestamp:
Jun 29, 2010, 12:48:16 PM (16 years ago)
Author:
Paul Price
Message:

Adding support for background restoration stages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/errors.pl

    r28453 r28540  
    8686    $label_table = "diffPhotRun";
    8787    $fault_table = "diffPhotSkycell";
     88} elsif ($stage eq "chip_bg") {
     89    $sql = "SELECT chip_bg_id, class_id, hostname, path_base FROM chipBackgroundRun JOIN chipBackgroundImfile USING(chip_bg_id) WHERE fault != 0 AND state = 'new'";
     90    $label_table = "chipBackgroundRun";
     91    $fault_table = "chipBackgroundImfile";
     92} elsif ($stage eq "warp_bg") {
     93    $sql = "SELECT warp_bg_id, skycell_id, hostname, path_base FROM warpBackgroundRun JOIN warpBackgroundSkyfile USING(warp_bg_id) WHERE fault != 0 AND state = 'new'";
     94    $label_table = "warpBackgroundRun";
     95    $fault_table = "warpBackgroundSkyfile";
    8896} else {
    8997    die "Unsupported stage: $stage\n";
Note: See TracChangeset for help on using the changeset viewer.