IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 7, 2009, 12:45:24 PM (17 years ago)
Author:
eugene
Message:

update from mainline

Location:
branches/eam_branches/20090715
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715

  • branches/eam_branches/20090715/tools/diff_inputs.pl

    r21427 r25022  
    2828my ($diff_id, $skycell_id);     # Diff and skycell of interest
    2929my ($input);                    # Input list
     30my ($muggle);                   # No magicked inputs?
    3031
    3132GetOptions(
     
    3738           'skycell_id=s' => \$skycell_id, # Skycell identifier
    3839           'input=s'  => \$input, # Input list to generate
     40           'muggle'   => \$muggle, # No magicked inputs?
    3941           ) or die "Unable to parse arguments.\n";
    4042die "Unknown option: @ARGV\n" if @ARGV;
     
    8890    if (defined $warp) {
    8991        copy_extensions( $warp, WARP_EXTENSIONS() );
     92        if (defined $muggle) {
     93            my @warp = split /\//, $warp;
     94            my $last = pop @warp;
     95            push @warp, "SR_$last";
     96            $warp = join '/', @warp;
     97            copy_extensions( $warp, WARP_EXTENSIONS() );
     98        }
    9099    } elsif (defined $stack) {
    91100        copy_extensions( $stack, STACK_EXTENSIONS() );
Note: See TracChangeset for help on using the changeset viewer.