- Timestamp:
- Mar 5, 2012, 5:19:48 PM (14 years ago)
- Location:
- branches/meh_branches/ppstack_test
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippScripts/scripts/stack_skycell.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/meh_branches/ppstack_test
- Property svn:mergeinfo changed
-
branches/meh_branches/ppstack_test/ippScripts/scripts/stack_skycell.pl
r31676 r33415 104 104 } 105 105 106 $ipprc->redirect_ output($logDest) or my_die( "Unable to redirect output", $stack_id, $PS_EXIT_SYS_ERROR ) if $redirect;106 $ipprc->redirect_to_logfile($logDest) or my_die( "Unable to redirect output", $stack_id, $PS_EXIT_SYS_ERROR ) if $redirect; 107 107 108 108 my $neb; … … 243 243 print $listFile "END\n\n"; 244 244 } 245 close($listFile); 245 246 246 247 print "I've checked everything: $stack_id\n"; … … 491 492 &my_die("Couldn't find expected output file: $file", $stack_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($file); 492 493 494 # Funpack to confirm we've really made things correctly 495 my $diskfile = $ipprc->file_resolve($file); 496 if ($diskfile =~ /fits/) { 497 my $funpack = can_run('funpack') or &my_die ("Can't find funpack", $stack_id, $PS_EXIT_SYS_ERROR); 498 my $check_command = "$funpack -S $diskfile > /dev/null"; 499 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 500 run(command => $check_command, verbose => $verbose); 501 if (!$success) { 502 &my_die("Output file not a valid fits file: $file", $stack_id, $PS_EXIT_SYS_ERROR); 503 } 504 } 505 ##### 506 493 507 if ($replicate and $neb) { 494 508 $ipprc->replicate_file($file) or &my_die("failed to replicate: $file\n", $stack_id, $PS_EXIT_SYS_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.
