IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 29, 2009, 3:17:29 PM (17 years ago)
Author:
bills
Message:

various changes to the postage stamp server.

File:
1 edited

Legend:

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

    r26048 r26289  
    315315    my $comment = $row->{COMMENT};
    316316    $comment = "null" if !$comment;
    317     my $label = $row->{LABEL};
    318     $label = "null" if !$label;
     317    my $data_group = $row->{DATA_GROUP};
     318    if (!defined $data_group) {
     319        # XXX: backwards compatibility hook. Remove "soon".
     320        $data_group = $row->{LABEL};
     321    }
     322    $data_group = "null" if !$data_group;
    319323
    320324    # This is ugly, error prone and hard to change.
    321325    # Create a results file module and provide a list of the names (we have the data in the columns)
    322326    my $rowinfo = "$row->{PROJECT}|$row->{JOB_TYPE}|$row->{REQ_TYPE}|$row->{IMG_TYPE}|";
    323     $rowinfo   .= "$row->{ID}|$tess_id|$component|$label|$row->{OPTION_MASK}|$row->{MJD_MIN}|$row->{MJD_MAX}|";
     327    $rowinfo   .= "$row->{ID}|$tess_id|$component|$data_group|$row->{OPTION_MASK}|$row->{MJD_MIN}|$row->{MJD_MAX}|";
    324328    $rowinfo   .= "$row->{REQFILT}|$row->{COORD_MASK}|$row->{CENTER_X}|$row->{CENTER_Y}|";
    325329    $rowinfo   .= "$row->{WIDTH}|$row->{HEIGHT}|";
Note: See TracChangeset for help on using the changeset viewer.