IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 19, 2013, 2:30:26 PM (13 years ago)
Author:
bills
Message:

support for skycal stage in distribution client

File:
1 edited

Legend:

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

    r31567 r35976  
    223223    } elsif ($runType eq 'staticskyRun') {
    224224        $stage = 'sky';
    225         # XXX: This should be skycell, but the distribution code uses exposure
    226225        $comp_name = 'skycell_id';
    227 #        $current_component = $comp_name;
     226    } elsif ($runType eq 'skycalRun') {
     227        $stage = 'skycal';
     228        $comp_name = 'skycell_id';
    228229    } else {
    229230        &my_die( "unexpected run type line found in $filename: $runType\n", $file_id, $PS_EXIT_UNKNOWN_ERROR);
     
    238239    }
    239240
    240     if ($stage eq 'sky') {
    241         # the dbinfo file for a skyRun only has one component and it doesn't contain
     241    if ($stage eq 'sky' or $stage = 'skycal') {
     242        # the dbinfo file for staticskyRun and skycalRun only have one component and they don't contain
    242243        # skycell_id which is the way components are listed in the dirinfo file.
    243244        my @ids = keys %$components;
Note: See TracChangeset for help on using the changeset viewer.