Changeset 24830 for trunk/tools/stack_inputs.pl
- Timestamp:
- Jul 16, 2009, 4:21:18 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/tools/stack_inputs.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/stack_inputs.pl
r24829 r24830 70 70 71 71 foreach my $warp_path ( @$warps ) { 72 if (defined $muggle) {73 my @warp = split /\//, $warp_path;74 my $last = pop @warp;75 push @warp, "SR_$last";76 $warp_path = join '/', @warp;77 }78 72 print $list "INPUT METADATA\n" if defined $input; 79 73 foreach my $type ( keys %{EXTENSIONS()} ) { 74 my $path = $warp_path; 75 if (defined $muggle and $type ne "PSF") { 76 my @warp = split /\//, $warp_path; 77 my $last = pop @warp; 78 push @warp, "SR_$last"; 79 $path = join '/', @warp; 80 } 80 81 my $ext = ${EXTENSIONS()}{$type}; # Extension 81 my $file = "$ warp_path$ext"; # File82 my $file = "$path$ext"; # File 82 83 my $source = `ipp_datapath.pl $file` or die "Unable to locate $file\n"; # Resolved file name 83 84 chomp $source;
Note:
See TracChangeset
for help on using the changeset viewer.
