IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29085


Ignore:
Timestamp:
Aug 31, 2010, 2:52:30 PM (16 years ago)
Author:
bills
Message:

change the postage stamp request web form to use the new perl program psmkreq intead of the
C program pstamprequest which did not implement all of the features

Location:
trunk/pstamp/scripts
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/Makefile.am

    r28038 r29085  
    1919        pstamp_webrequest.pl \
    2020        pstamp_get_image_job.pl \
     21        psmkreq \
    2122        pstamp_checkdependent.pl \
    2223        request_finish.pl \
  • trunk/pstamp/scripts/pstamp_webrequest.pl

    r28106 r29085  
    44# pstampwebrequest.pl: take a postage stamp request command line and process it
    55#
    6 # The arguments are the command line parameters for the program pstamprequest
     6# The arguments are the command line parameters for the program psmkreq
    77#
    88# Unless the argument -list is provided the output is the request id for the resulting request
     
    7070my $missing_tools;
    7171
    72 my $pstamprequest = can_run('pstamprequest')  or (warn "Can't find pstamprequest"  and $missing_tools = 1);
     72my $psmkreq = can_run('psmkreq')  or (warn "Can't find psmkreq"  and $missing_tools = 1);
    7373my $pstamptool = can_run('pstamptool')  or (warn "Can't find pstamptool"  and $missing_tools = 1);
    7474my $pstampparse = can_run('pstampparse.pl')  or (warn "Can't find pstampparse.pl"  and $missing_tools = 1);
    75 my $pstampparser_run = can_run('pstamp_parser_run.pl')  or (warn "Can't find pstamp_parser_run.pl"  and $missing_tools = 1);
    7675
    7776if ($missing_tools) {
     
    9695my $request_file = "$datedir/$request_name.fits";
    9796{
    98     my $command = "$pstamprequest -req_name $request_name -project $project $request_file @ARGV";
    99     $command .= " -$job_type" if $job_type;     # default job_type is pstamp
     97    my $command = "$psmkreq --req_name $request_name  --output $request_file @ARGV";
    10098
    10199    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     
    103101    unless ($success) {
    104102        print STDERR @$stderr_buf;
    105         die("Unable to perform pstamprequest: $error_code");
     103        die("Unable to perform psmkreq: $error_code");
    106104    }
    107105}
Note: See TracChangeset for help on using the changeset viewer.