Changeset 9097 for trunk/ippScripts/scripts/phase2.pl
- Timestamp:
- Oct 2, 2006, 12:16:03 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/phase2.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/phase2.pl
r8716 r9097 18 18 "Usage: $0 EXP_ID CLASS_ID INPUT.fits OUTPUT_ROOT\n\n"; 19 19 } 20 my $exp Id= shift @ARGV; # Exposure ID20 my $expTag = shift @ARGV; # Exposure ID 21 21 my $classId = shift @ARGV; # Class ID 22 22 my $input = shift @ARGV; # Input FITS file … … 65 65 # Command to run dettool 66 66 my $command = "$p2tool -processed"; 67 $command .= " -exp_ id $expId";67 $command .= " -exp_tag $expTag"; 68 68 $command .= " -class_id $classId"; 69 69 $command .= " -recip " . RECIPE; … … 77 77 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 78 78 run(command => $command, verbose => 1); 79 die "Unable to perform p2tool -processed for $exp Id/$classId: $error_code\n"79 die "Unable to perform p2tool -processed for $expTag/$classId: $error_code\n" 80 80 if not $success; 81 81 }
Note:
See TracChangeset
for help on using the changeset viewer.
