IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 11, 2008, 1:26:39 PM (18 years ago)
Author:
Paul Price
Message:

Just found Gene's solution: use the basename of the tess_id. Reverting to this solution.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/ipp_serial_stack.pl

    r18486 r18489  
    1414use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt );
    1515use Pod::Usage qw( pod2usage );
     16use File::Basename;
    1617
    1718my $ipprc = PS::IPP::Config->new(); # IPP configuration
     
    6869        my $stack_id = $item->{stack_id};
    6970        my $workdir = $item->{workdir};
    70         my $tess_id = $item->{tess_id};
     71        my $tess_id = basename($item->{tess_id});
    7172        my $skycell_id = $item->{skycell_id};
    7273       
     
    7475        die "No working directory specified.\n" unless defined $workdir;
    7576       
    76         my $outroot = caturi( $workdir, $skycell_id, "$skycell_id.stk.$stack_id" );
     77        my $outroot = caturi( $workdir, $tess_id, $skycell_id, "$tess_id.$skycell_id.dif.$diff_id" );
    7778        $ipprc->outroot_prepare( $outroot );
    7879
Note: See TracChangeset for help on using the changeset viewer.