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

    r24764 r27180  
    144144    ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    145145        run(command => $command, verbose => $verbose);
    146     &my_die("Unable to find expected output file: $jpeg1Name", $det_id, $iter, $PS_EXIT_SYS_ERROR) unless -f $ipprc->file_resolve($jpeg1Name);
     146    &my_die("Unable to find expected output file: $jpeg1Name", $det_id, $iter, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($jpeg1Name);
    147147
    148148    # Make the jpeg for binning 2
     
    153153    ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    154154        run(command => $command, verbose => $verbose);
    155     &my_die("Unable to find expected output file: $jpeg2Name", $det_id, $iter, $PS_EXIT_SYS_ERROR) unless -f $ipprc->file_resolve($jpeg2Name);
     155    &my_die("Unable to find expected output file: $jpeg2Name", $det_id, $iter, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($jpeg2Name);
    156156
    157157}
Note: See TracChangeset for help on using the changeset viewer.