IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 15, 2009, 12:26:50 PM (17 years ago)
Author:
bills
Message:

don't use exp_name in fileset tag for diff bundles. It doesn't always apply.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/dist_make_fileset.pl

    r24125 r24199  
    213213    if ($stage eq 'stack') {
    214214        return "stack.$stage_id";
     215    } elsif ($stage eq 'diff') {
     216        return "diff.$stage_id";
    215217    }
    216218
    217219    #
    218     # we are a long ways away from the rawExp in the pipline. Rather than do some exotic
    219     # queries in the disttool, we look up the exp_name in the database using DBI
     220    # we are a long ways away from the rawExp in the pipeline. Rather than do some
     221    # very long joins in disttool, we look up the exp_name in the database using DBI
    220222    #
    221223    my $dbh = getDBHandle($ipprc, $dbname);
     
    236238        $query = "SELECT exp_name FROM warpRun JOIN fakeRun USING(fake_id) JOIN camRun USING(cam_id)"
    237239                    . " JOIN chipRun USING(chip_id) JOIN rawExp USING(exp_id) WHERE warp_id = $stage_id";
    238     } elsif ($stage eq 'diff') {
    239         $query = "SELECT exp_name FROM diffRun JOIN rawExp USING(exp_id) WHERE diff_id = $stage_id";
    240240    } else {
    241241        &my_die("$stage is invalid value for stage\n");
Note: See TracChangeset for help on using the changeset viewer.