Changeset 12421 for trunk/ippScripts/scripts/detrend_stack.pl
- Timestamp:
- Mar 12, 2007, 5:01:10 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_stack.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_stack.pl
r11837 r12421 98 98 } 99 99 100 # Set output directory 100 101 if (defined $workdir) { 101 102 $workdir = $ipprc->convert_filename_absolute( $workdir ); 103 my $subdir = "$camera.$det_type.$det_id"; 104 $workdir = File::Spec->catdir( $workdir, $subdir ); 102 105 } else { 103 my $example = $ {$files}[0]->{uri}; # Example file106 my $example = $ipprc->convert_filename_absolute( ${$files}[0]->{uri} ); # Example file 104 107 my ($vol, $dir, $file) = File::Spec->splitpath( $example ); 105 108 $workdir = $dir; 106 109 } 110 system "mkdir -p $workdir" unless -d $workdir; 107 111 108 112 # Stack the files
Note:
See TracChangeset
for help on using the changeset viewer.
