Changeset 27670
- Timestamp:
- Apr 13, 2010, 1:28:15 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_finish.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_finish.pl
r26289 r27670 63 63 my $pstamp_results = can_run('pstamp_results_file.pl') 64 64 or (warn "Can't find pstamp_results_file.pl" and $missing_tools = 1); 65 my $pstampdump = can_run('pstampdump') or (warn "Can't find pstampdump" and $missing_tools = 1); 65 66 if ($missing_tools) { 66 67 warn("Can't find required tools."); … … 123 124 my ($rlf, $reglist_name) = tempfile ("$out_dir/reglist.XXXX", UNLINK => !$save_temps); 124 125 print $rlf "results.fits|||table|\n"; 126 print $rlf "results.mdc|||txt|\n"; 125 127 126 128 my $err_file = "parse_error.txt"; … … 250 252 print STDERR "Unable to perform $command error code: $error_code\n"; 251 253 $request_fault = $error_code >> 8; 254 } else { 255 # dump a textual representation 256 my $command = "$pstampdump $out_dir/results.fits > $out_dir/results.mdc"; 257 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 258 run(command => $command, verbose => $verbose); 259 unless ($success) { 260 print STDERR "Unable to perform $command error code: $error_code\n"; 261 $request_fault = $error_code >> 8; 262 } 252 263 } 253 264 }
Note:
See TracChangeset
for help on using the changeset viewer.
