Changeset 32562 for trunk/ippScripts/scripts/camera_exp.pl
- Timestamp:
- Oct 19, 2011, 5:20:49 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/camera_exp.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/camera_exp.pl
r32379 r32562 404 404 $ipprc->file_exists($file); 405 405 406 # Funpack to confirm we've really made things correctly 407 my $diskfile = $ipprc->file_resolve($file); 408 if ($diskfile =~ /fits/) { 409 my $funpack = can_run('funpack') or &my_die ("Can't find funpack", $cam_id, $PS_EXIT_SYS_ERROR); 410 my $check_command = "$funpack -S $diskfile > /dev/null"; 411 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 412 run(command => $check_command, verbose => $verbose); 413 if (!$success) { 414 &my_die("Output file not a valid fits file: $file", $cam_id, $PS_EXIT_SYS_ERROR); 415 } 416 } 417 ##### 418 419 406 420 my $scheme = file_scheme($file); 407 421 if ($replicate and $scheme and (file_scheme($file) eq 'neb')) {
Note:
See TracChangeset
for help on using the changeset viewer.
