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

    r11319 r11333  
    111111
    112112### Output file names --- must match camera configuration!
    113 unless (defined $workdir) {
     113if (defined $workdir) {
     114    $workdir = $ipprc->convert_filename_absolute( $workdir );
     115} else {
    114116    my ($vol, $dir, $file) = File::Spec->splitpath( $input_uri );
    115117    $workdir = $dir;
     
    117119my $outputRoot = $exp_tag . '.detresid.' . $det_id . '.' . $iter; # Root name
    118120$outputRoot = File::Spec->catfile( $workdir, $outputRoot );
    119 $outputRoot = $ipprc->convert_filename_absolute( $outputRoot );
    120121$input_uri = $ipprc->convert_filename_absolute( $input_uri );
    121122$detrend = $ipprc->convert_filename_absolute( $detrend ) if defined $detrend;
Note: See TracChangeset for help on using the changeset viewer.