IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 12, 2007, 5:01:10 PM (19 years ago)
Author:
Paul Price
Message:

Updating directory names, output file names.

File:
1 edited

Legend:

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

    r12079 r12421  
    115115}
    116116
     117# Set output directory
    117118if (defined $workdir) {
    118119    $workdir = $ipprc->convert_filename_absolute( $workdir );
     120    my $subdir = "$camera.$det_type.$det_id";
     121    $workdir = File::Spec->catdir( $workdir, $subdir );
    119122} else {
    120123    my $example = ${$files}[0]->{path_base}; # Example file, for path
     
    122125    $workdir = $dir;
    123126}
     127system "mkdir -p $workdir" unless -d $workdir;
    124128
    125129# Generate the file list, and get the statistics
    126130my $outputFile = "$camera.$det_type.norm.$det_id.$iter"; # Root output name
    127 my $outputSubD = "$camera.$det_type.$det_id";
    128 my $outputRoot = File::Spec->catfile( $workdir, $outputSubD, $outputFile );
     131my $outputRoot = File::Spec->catfile( $workdir, $outputFile );
    129132
    130133my $list1Name = $outputRoot . '.b1.list'; # Name for the input file list for binning 1
Note: See TracChangeset for help on using the changeset viewer.