Changeset 29085
- Timestamp:
- Aug 31, 2010, 2:52:30 PM (16 years ago)
- Location:
- trunk/pstamp/scripts
- Files:
-
- 2 edited
- 1 moved
-
Makefile.am (modified) (1 diff)
-
psmkreq (moved) (moved from trunk/pstamp/scripts/pstamprequest )
-
pstamp_webrequest.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/Makefile.am
r28038 r29085 19 19 pstamp_webrequest.pl \ 20 20 pstamp_get_image_job.pl \ 21 psmkreq \ 21 22 pstamp_checkdependent.pl \ 22 23 request_finish.pl \ -
trunk/pstamp/scripts/pstamp_webrequest.pl
r28106 r29085 4 4 # pstampwebrequest.pl: take a postage stamp request command line and process it 5 5 # 6 # The arguments are the command line parameters for the program ps tamprequest6 # The arguments are the command line parameters for the program psmkreq 7 7 # 8 8 # Unless the argument -list is provided the output is the request id for the resulting request … … 70 70 my $missing_tools; 71 71 72 my $ps tamprequest = can_run('pstamprequest') or (warn "Can't find pstamprequest" and $missing_tools = 1);72 my $psmkreq = can_run('psmkreq') or (warn "Can't find psmkreq" and $missing_tools = 1); 73 73 my $pstamptool = can_run('pstamptool') or (warn "Can't find pstamptool" and $missing_tools = 1); 74 74 my $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);76 75 77 76 if ($missing_tools) { … … 96 95 my $request_file = "$datedir/$request_name.fits"; 97 96 { 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"; 100 98 101 99 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = … … 103 101 unless ($success) { 104 102 print STDERR @$stderr_buf; 105 die("Unable to perform ps tamprequest: $error_code");103 die("Unable to perform psmkreq: $error_code"); 106 104 } 107 105 }
Note:
See TracChangeset
for help on using the changeset viewer.
