Changeset 14135
- Timestamp:
- Jul 11, 2007, 10:06:41 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ipp_serial_inject_mosaic.pl
r14039 r14135 122 122 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 123 123 run( command => $command, verbose => 1 ); 124 die "Unable to inject $exp $class_id: $error_code\n" if not $success;124 die "Unable to inject $exp_name $class_id: $error_code\n" if not $success; 125 125 } 126 126 127 127 if (scalar @classes == 0) { 128 my $filename = "$exp.fits";129 $filename = caturi( $exp , $filename ) if defined $add_dir;128 my $filename = $exp_name . '.fits'; 129 $filename = caturi( $exp_name, $filename ) if defined $add_dir; 130 130 $filename = caturi( $path, $filename ); 131 131 … … 133 133 134 134 $filename = $ipprc->convert_filename_relative( $filename ); 135 my $command = "$pxinject -newImfile -exp_ tag $exp_tag-class fpa -class_id fpa -dbname $dbname -uri $filename"; # Command to run135 my $command = "$pxinject -newImfile -exp_id $exp_id -exp_name $exp_name -class fpa -class_id fpa -dbname $dbname -uri $filename"; # Command to run 136 136 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 137 137 run( command => $command, verbose => 1 ); 138 die "Unable to inject $exp imfile: $error_code\n" if not $success;138 die "Unable to inject $exp_name imfile: $error_code\n" if not $success; 139 139 } 140 140
Note:
See TracChangeset
for help on using the changeset viewer.
