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

    r11319 r11333  
    8181
    8282### Output file name
    83 unless (defined $workdir) {
     83if (defined $workdir) {
     84    $workdir = $ipprc->convert_filename_absolute( $workdir );
     85} else {
    8486    my ($vol, $dir, $file) = File::Spec->splitpath( $input_uri );
    8587    $workdir = $dir;
     
    8789my $outputRoot = $exp_tag . '.detproc.' . $det_id; # Root name
    8890$outputRoot = File::Spec->catfile( $workdir, $outputRoot );
    89 $outputRoot = $ipprc->convert_filename_absolute( $outputRoot );
     91print "OUTPUTROOT: $outputRoot\n";
    9092$input_uri = $ipprc->convert_filename_absolute( $input_uri );
    9193
Note: See TracChangeset for help on using the changeset viewer.