IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 36782


Ignore:
Timestamp:
May 27, 2014, 9:54:58 AM (12 years ago)
Author:
bills
Message:

use reported size and md5sum

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20130712/pstamp/scripts/pstamp_finish.pl

    r35409 r36782  
    211211                        chomp $line;
    212212                        my ($img_name, $reported_size, $reported_sum, $filetype) = split '\|', $line;
    213                         # ... instead let dsreg compute the paramters by leaving them blank
    214                         print $rlf "$img_name|||$filetype|\n";
     213                        my $use_supplied_size = 1;
     214                        if ($use_supplied_size) {
     215                            print $rlf "$img_name|$reported_size|$reported_sum|$filetype|\n";
     216                        } else {
     217                            # ... instead let dsreg compute the paramters by leaving them blank
     218                            print $rlf "$img_name|||$filetype|\n";
     219                        }
    215220
    216221                        # add line to the table definition file
Note: See TracChangeset for help on using the changeset viewer.