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_diff.pl

    r18487 r18489  
    1111use PS::IPP::Metadata::List qw( parse_md_list );
    1212use PS::IPP::Config 1.01 qw( :standard );
     13use File::Basename;
    1314
    1415use Getopt::Long qw( GetOptions :config auto_help auto_version gnu_getopt );
     
    6667        my $diff_id = $item->{diff_id};
    6768        my $skycell_id = $item->{skycell_id};
    68         my $tess_id = $item->{tess_id};
     69        my $tess_id = basename($item->{tess_id});
    6970        my $workdir = $item->{workdir};
    7071       
     
    7273        die "No working directory specified.\n" unless defined $workdir;
    7374       
    74         my $outroot = caturi( $workdir, $skycell_id, "$skycell_id.dif.$diff_id" );
     75        my $outroot = caturi( $workdir, $tess_id, $skycell_id, "$tess_id.$skycell_id.dif.$diff_id" );
    7576        $ipprc->outroot_prepare( $outroot );
    7677
Note: See TracChangeset for help on using the changeset viewer.