Changeset 11110 for trunk/ippScripts/scripts/phase3.pl
- Timestamp:
- Jan 15, 2007, 3:17:04 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/phase3.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/phase3.pl
r11096 r11110 19 19 use Pod::Usage qw( pod2usage ); 20 20 21 my ($exp_tag, $camera, $ no_update);21 my ($exp_tag, $camera, $outpath, $no_update); 22 22 GetOptions( 23 23 'exp_tag|e=s' => \$exp_tag, 24 24 'camera|c=s' => \$camera, 25 'outpath|o=s' => \$outpath, 25 26 'no-update' => \$no_update 26 27 ) or pod2usage( 2 ); … … 28 29 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV; 29 30 pod2usage( 30 -msg => "Required options: --exp_tag --camera ",31 -msg => "Required options: --exp_tag --camera --outpath", 31 32 -exitval => 3, 32 33 ) unless defined $exp_tag … … 95 96 } 96 97 97 my $example = ${$files}[0]->{b1_uri}; # Example filename 98 my ($vol, $dir, $file) = File::Spec->splitpath( $example ); 98 # XXX old verison, drop 99 #my $example = ${$files}[0]->{b1_uri}; # Example filename 100 #my ($vol, $dir, $file) = File::Spec->splitpath( $example ); 99 101 100 102 # Generate the file list, and get the statistics 101 103 my $outputRoot = $exp_tag . '.p3'; # Root output name 102 $outputRoot = File::Spec->catpath( $ vol, $dir, $outputRoot );104 $outputRoot = File::Spec->catpath( $outpath, $outputRoot ); 103 105 $outputRoot = $ipprc->convert_filename_absolute($outputRoot); 104 106 my $list1Name = $outputRoot . '.b1.list'; # Name for the input file list for binning 1
Note:
See TracChangeset
for help on using the changeset viewer.
