Changeset 8853
- Timestamp:
- Sep 19, 2006, 5:57:04 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_apply_norm.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_apply_norm.pl
r8487 r8853 28 28 my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files 29 29 30 my $outName = $output . '.' . $classId . '.fit'; # Output file name 31 30 32 # Run ppArith 31 33 my $norms; … … 34 36 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 35 37 run(command => $command, verbose => 1); 36 die "Unable to perform ppArith: $error_code\n" 37 if not $success;38 die "Unable to perform ppArith: $error_code\n" if not $success; 39 die "Can't find expected output file: $outName\n" if not -e $outName; 38 40 } 41 39 42 40 43 # Update the database 41 44 { 42 my $command = "$dettool -addnormalizedimfile -det_id $detId -iter $iter -class_id $classId ".43 "-uri $out put"; # Command to run45 my $command = "$dettool -addnormalizedimfile -det_id $detId -iteration $iter -class_id $classId ". 46 "-uri $outName"; # Command to run 44 47 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 45 48 run(command => $command, verbose => 1);
Note:
See TracChangeset
for help on using the changeset viewer.
