Changeset 11298 for trunk/ippScripts/scripts/phase3.pl
- Timestamp:
- Jan 25, 2007, 3:15:46 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/phase3.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/phase3.pl
r11297 r11298 19 19 use Pod::Usage qw( pod2usage ); 20 20 21 my ($exp_tag, $camera, $outpath, $dbname, $ no_update);21 my ($exp_tag, $camera, $outpath, $dbname, $workdir, $no_update); 22 22 GetOptions( 23 23 'exp_tag|e=s' => \$exp_tag, 24 24 'camera|c=s' => \$camera, 25 'outpath|o=s' => \$outpath,26 25 'dbname|d=s' => \$dbname, # Database name 26 'workdir|w=s' => \$workdir, 27 27 'no-update' => \$no_update 28 28 ) or pod2usage( 2 ); … … 98 98 } 99 99 100 # XXX old verison, drop 101 #my $example = ${$files}[0]->{b1_uri}; # Example filename 102 #my ($vol, $dir, $file) = File::Spec->splitpath( $example ); 100 unless (defined $workdir) { 101 my $example = ${$files}[0]->{b1_uri}; # Example filename 102 my ($vol, $dir, $file) = File::Spec->splitpath( $example ); 103 $workdir = $dir; 104 } 103 105 104 106 # Generate the file list, and get the statistics 105 107 my $outputRoot = $exp_tag . '.p3'; # Root output name 106 $outputRoot = File::Spec->cat path( $outpath, $outputRoot );108 $outputRoot = File::Spec->catfile( $workdir, $outputRoot ); 107 109 $outputRoot = $ipprc->convert_filename_absolute($outputRoot); 108 110 my $list1Name = $outputRoot . '.b1.list'; # Name for the input file list for binning 1
Note:
See TracChangeset
for help on using the changeset viewer.
