IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 9, 2013, 11:25:56 AM (13 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-20130419/pstamp/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130419/pstamp/scripts

  • branches/eam_branches/ipp-20130419/pstamp/scripts/pstamp_request_file

    r35362 r35545  
    1818     $output,                   # Name of output table
    1919     $req_name,
     20     $email,
    2021     $help
    2122     );
     
    2526           'output|o=s'   => \$output,
    2627           'req_name|r=s' => \$req_name,
    27            'help|h'         => \$help,
     28           'email=s'      => \$email,
     29           'help|h'       => \$help,
    2830) or pod2usage( 2 );
    2931
     
    6668];
    6769
     70my $email_column_num = 3;
     71
    6872# Specification of columns to write
    6973my $columns = [
     
    165169    $req_name = $header->[0]->{value};
    166170}
     171if ($email) {
     172    $header->[$email_column_num]->{value} = $email;
     173}
     174
    167175
    168176die "no request name defined" unless defined $req_name;
     
    302310
    303311            $$r_extver = $vals[1];
    304             if ($extver > 1) {
     312            if ($$r_extver > 1) {
    305313                die "number of header columns in input $nvals does not equal expected number of header words $nhead"
    306314                    if (@vals != @$header);
Note: See TracChangeset for help on using the changeset viewer.