IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 22, 2013, 4:12:08 PM (13 years ago)
Author:
bills
Message:

preliminary support for postage stamp jobs with stage 'stack_summary' (coverage maps)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstampparse.pl

    r35828 r36010  
    221221foreach my $row (@$rows) {
    222222
    223     if ($label eq 'WEB.UP' and ($nRows > 500 or $num_jobs > 500) and $req_id and !$no_update) {
    224         # this is a big request and it came from the upload page and doesn't have a specific label assigned
    225         # change it to the generic one that has lower with lower priority
    226         $label = 'WEB.BIG';
     223    if (($label =~ /PSI/ or $label =~ /WEB/) and ($nRows > 200 or $num_jobs > 200) and $req_id and !$no_update) {
     224        # this is a big request and it came from one of the "high priority" channels
     225        # upload page and doesn't have a specific label assigned
     226        # change it to a generic one that runs with lower priority
     227        $label = ($label =~ /WEB/) ? 'WEB.BIG' : 'PSI.BIG';
    227228        print "\nChanging label for big WEB.UP request to $label\n";
    228229
     
    11631164    }
    11641165    if (($img_type eq "raw") or ($img_type eq "chip") or ($img_type eq "warp") or
    1165         ($img_type eq "stack") or ($img_type eq "diff")) {
     1166        ($img_type eq "stack") or ($img_type eq 'stack_summary') or ($img_type eq "diff")) {
    11661167        return 1;
    11671168    } else {
Note: See TracChangeset for help on using the changeset viewer.