IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 24, 2010, 2:41:51 PM (16 years ago)
Author:
Paul Price
Message:

Check for configuration dump file.

File:
1 edited

Legend:

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

    r27050 r27062  
    294294        if ($do_stats) {
    295295            my $fpaStatsReal = $ipprc->file_resolve($fpaStats);
    296             &my_die("Couldn't find expected output file: $fpaStats", $cam_id, $PS_EXIT_SYS_ERROR) unless -f $fpaStatsReal;
     296            &my_die("Couldn't find expected output file: $fpaStats", $cam_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists( $fpaStatsReal );
    297297
    298298            # parse stats from metadata
     
    317317            foreach my $outMask (@outMasks) {
    318318                &my_die("Unable to find expected output file: $outMask", $cam_id, $PS_EXIT_SYS_ERROR) unless -f $ipprc->file_resolve($outMask);
     319            }
     320
     321            if ($run_state eq 'new') {
     322                &my_die("Couldn't find expected output file: $configuration", $cam_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($configuration);
    319323            }
    320324        }
Note: See TracChangeset for help on using the changeset viewer.