Changeset 25022 for branches/eam_branches/20090715/tools/stack_inputs.pl
- Timestamp:
- Aug 7, 2009, 12:45:24 PM (17 years ago)
- Location:
- branches/eam_branches/20090715
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tools/stack_inputs.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715
- Property svn:mergeinfo changed
/trunk (added) merged: 24801-24824,24827-24834,24836-24859,24861-24901,24903-24912,24914-24950,24953-24971,24973-24977,24986-24989,24993-25017
- Property svn:mergeinfo changed
-
branches/eam_branches/20090715/tools/stack_inputs.pl
r21427 r25022 24 24 my ($stack_id); # Stack of interest 25 25 my ($input); # Input list 26 my ($muggle); # No magicked inputs? 26 27 27 28 GetOptions( … … 32 33 'stack_id=s' => \$stack_id, # Stack identifier 33 34 'input=s' => \$input, # Input list to generate 35 'muggle' => \$muggle, # No magicked inputs? 34 36 ) or die "Unable to parse arguments.\n"; 35 37 die "Unknown option: @ARGV\n" if @ARGV; … … 70 72 print $list "INPUT METADATA\n" if defined $input; 71 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 } 72 81 my $ext = ${EXTENSIONS()}{$type}; # Extension 73 my $file = "$ warp_path$ext"; # File82 my $file = "$path$ext"; # File 74 83 my $source = `ipp_datapath.pl $file` or die "Unable to locate $file\n"; # Resolved file name 75 84 chomp $source;
Note:
See TracChangeset
for help on using the changeset viewer.
