IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 26, 2007, 3:10:21 PM (19 years ago)
Author:
Paul Price
Message:

Fixing problem with resolving directories using PS::IPP::Config->datapath() --- use of File::Spec->catfile on $workdir = path://SOMETHING/ produced path:/SOMETHING/ which then killed the URI parsing in PS::IPP::Config->convert_filename_absolute().

File:
1 edited

Legend:

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

    r11319 r11333  
    7474}
    7575
    76 unless (defined $workdir) {
     76if (defined $workdir) {
     77    $workdir = $ipprc->convert_filename_absolute( $workdir );
     78} else {
    7779    my ($vol, $dir, $file) = File::Spec->splitpath( $input );
    7880    $workdir = $dir;
     
    8385my $outputRoot = $camera . '.' . $detType . '.norm.' . $detId . '.' . $iter; # Root output name
    8486$outputRoot = File::Spec->catfile( $workdir, $outputRoot );
    85 $outputRoot = $ipprc->convert_filename_absolute($outputRoot);
    8687
    8788my $output = $ipprc->filename("PPIMAGE.OUTPUT", $outputRoot, $classId);
Note: See TracChangeset for help on using the changeset viewer.