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

    r11319 r11333  
    108108}
    109109
    110 unless (defined $workdir) {
     110if (defined $workdir) {
     111    $workdir = $ipprc->convert_filename_absolute( $workdir );
     112} else {
    111113    my $example = ${$files}[0]->{b1_uri}; # Example file, for path
    112114    my ($vol, $dir, $file) = File::Spec->splitpath( $example );
     
    117119my $outputRoot = $camera . '.' . $det_type . '.norm.' . $det_id . '.' . $iter; # Root output name
    118120$outputRoot = File::Spec->catfile( $workdir, $outputRoot );
    119 $outputRoot = $ipprc->convert_filename_absolute( $outputRoot );
    120121my $list1Name = $outputRoot . '.b1.list'; # Name for the input file list for binning 1
    121122my $list2Name = $outputRoot . '.b2.list'; # Name for the input file list for binning 2
Note: See TracChangeset for help on using the changeset viewer.