IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24830


Ignore:
Timestamp:
Jul 16, 2009, 4:21:18 PM (17 years ago)
Author:
Paul Price
Message:

PSF files don't get destreaked

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/stack_inputs.pl

    r24829 r24830  
    7070
    7171foreach 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     }
    7872    print $list "INPUT METADATA\n" if defined $input;
    7973    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        }
    8081        my $ext = ${EXTENSIONS()}{$type}; # Extension
    81         my $file = "$warp_path$ext"; # File
     82        my $file = "$path$ext"; # File
    8283        my $source = `ipp_datapath.pl $file` or die "Unable to locate $file\n"; # Resolved file name
    8384        chomp $source;
Note: See TracChangeset for help on using the changeset viewer.