IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 3, 2012, 4:07:34 PM (14 years ago)
Author:
bills
Message:

Minor postage stamp changes that have been running in production for awhile now

File:
1 edited

Legend:

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

    r30633 r33670  
    201201                # process the reglist file to get the list of files produced by this job
    202202                foreach my $line (<JRL>) {
     203
     204                    # XXX: we are getting many cases where the size and/or md5sum calculated by
     205                    # the job has changed by the time the request_finish has run
     206                    # Don't
    203207                    # add line to the requests's reglist
    204                     print $rlf $line;
     208                    # ....
     209#                    print $rlf $line;
     210
    205211
    206212                    chomp $line;
    207                     my ($img_name, undef) = split '\|', $line;
     213                    my ($img_name, $reported_size, $reported_sum, $filetype) = split '\|', $line;
     214                    # ... instead let dsreg compute the paramters by leaving them blank
     215                    print $rlf "$img_name|||$filetype|\n";
    208216
    209217                    # add line to the table definition file
Note: See TracChangeset for help on using the changeset viewer.