IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33019 for trunk/ippScripts


Ignore:
Timestamp:
Dec 23, 2011, 1:05:07 PM (15 years ago)
Author:
bills
Message:

use prepare_output to avoid dead instances of previously run files

File:
1 edited

Legend:

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

    r32788 r33019  
    127127    foreach my $cell_id (@video_cells) {
    128128        my $path_base =  "$outroot.$class_id.$cell_id";
    129         my $output = $ipprc->filename("PSVIDEOPHOT.OUTPUT", $path_base);
     129        my $error;
     130        my $output = $ipprc->prepare_output("PSVIDEOPHOT.OUTPUT", $path_base, undef, 1, \$error)
     131            or &my_die("failed to prepare output file for PSVIDEOPHOT.OUTPUT", $vp_id, $error);
    130132        my $command = "$psvideophot $output";
    131133        $command .= " -file $uri";
Note: See TracChangeset for help on using the changeset viewer.