IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 3, 2010, 5:29:07 PM (16 years ago)
Author:
Paul Price
Message:

Using PS::IPP::Config->file_exists in favor of '-f'.

File:
1 edited

Legend:

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

    r26499 r27180  
    8989                  'DOMEFLAT_RAW'     => 'PPMERGE.OUTPUT.FLAT',
    9090                  'SKYFLAT_RAW'      => 'PPMERGE.OUTPUT.FLAT',
    91                   'SKYFLATTEST_RAW'  => 'PPMERGE.OUTPUT.FLAT',
     91                  'SKYFLATTEST_RAW'  => 'PPMERGE.OUTPUT.FLAT',
    9292                  'FLAT'             => 'PPMERGE.OUTPUT.FLAT',
    9393                  'DOMEFLAT'         => 'PPMERGE.OUTPUT.FLAT',
     
    114114                   'DOMEFLAT_RAW'     => 'DETSTATS',
    115115                   'SKYFLAT_RAW'      => 'DETSTATS',
    116                    'SKYFLATTEST_RAW'  => 'DETSTATS',
     116                   'SKYFLATTEST_RAW'  => 'DETSTATS',
    117117                   'FLAT'             => 'DETSTATS',
    118118                   'DOMEFLAT'         => 'DETSTATS',
     
    206206        &my_die("Unable to perform ppMerge: $error_code", $det_id, $iter, $class_id, $error_code);
    207207    }
    208     &my_die("Unable to find expected output file: $outputStack\n", $det_id, $iter, $class_id, $PS_EXIT_SYS_ERROR) unless -f $ipprc->file_resolve($outputStack);
    209     &my_die("Unable to find expected output file: $outputCount\n", $det_id, $iter, $class_id, $PS_EXIT_SYS_ERROR) unless -f $ipprc->file_resolve($outputCount);
    210     &my_die("Unable to find expected output file: $outputSigma\n", $det_id, $iter, $class_id, $PS_EXIT_SYS_ERROR) unless -f $ipprc->file_resolve($outputSigma);
     208    &my_die("Unable to find expected output file: $outputStack\n", $det_id, $iter, $class_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputStack);
     209    &my_die("Unable to find expected output file: $outputCount\n", $det_id, $iter, $class_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputCount);
     210    &my_die("Unable to find expected output file: $outputSigma\n", $det_id, $iter, $class_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputSigma);
    211211
    212212    my $outputStatsReal = $ipprc->file_resolve($outputStats);
    213     &my_die("Couldn't find expected output file: $outputStats", $det_id, $iter, $class_id, $PS_EXIT_SYS_ERROR) unless -f $outputStatsReal;
     213    &my_die("Couldn't find expected output file: $outputStats", $det_id, $iter, $class_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($outputStatsReal);
    214214
    215215    # parse stats from metadata
Note: See TracChangeset for help on using the changeset viewer.