IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25053


Ignore:
Timestamp:
Aug 11, 2009, 4:14:44 PM (17 years ago)
Author:
bills
Message:

component and tess_id can be modified during processing.
If not defined set them to 'null' in the results file

File:
1 edited

Legend:

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

    r24964 r25053  
    4747
    4848my $ipprc = PS::IPP::Config->new(); # IPP Configuration
    49 
    5049if ($redirect_output) {
    5150    my $logDest = "$out_dir/psfinish.$req_id.log";
     
    227226                print $tdf "$exp_info|";
    228227                print $tdf "$req_info|";
     228                print $tdf "\n";
    229229            }
    230230        } else {
     
    299299    my $row = $rows->{$rownum};
    300300
     301    # these may be set to null during processing
     302    my $component = $row->{COMPONENT};
     303    $component = "null" if !$component;
     304    my $tess_id = $row->{TESS_ID};
     305    $tess_id = "null" if !$tess_id;
     306
    301307    # This is ugly, error prone and hard to change.
    302308    # Create a results file module and provide a list of the names (we have the data in the columns)
    303309    my $rowinfo = "$row->{PROJECT}|$row->{JOB_TYPE}|$row->{REQ_TYPE}|$row->{IMG_TYPE}|";
    304     $rowinfo   .= "$row->{ID}|$row->{TESS_ID}|$row->{COMPONENT}|$row->{OPTION_MASK}|$row->{MJD_MIN}|$row->{MJD_MAX}|";
     310    $rowinfo   .= "$row->{ID}|$tess_id|$component|$row->{OPTION_MASK}|$row->{MJD_MIN}|$row->{MJD_MAX}|";
    305311    $rowinfo   .= "$row->{REQFILT}|$row->{COORD_MASK}|$row->{CENTER_X}|$row->{CENTER_Y}|";
    306312    $rowinfo   .= "$row->{WIDTH}|$row->{HEIGHT}";
Note: See TracChangeset for help on using the changeset viewer.