Changeset 29996
- Timestamp:
- Dec 9, 2010, 11:44:52 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/chip_imfile.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/chip_imfile.pl
r29950 r29996 176 176 $ipprc->delete_destreak_backup_file($outputWeight) 177 177 or &my_die("failed to delete existing destreak backup weight file", $exp_id, $chip_id, $class_id, $PS_EXIT_UNKNOWN_ERROR); 178 179 # don't do binned images when updating unless we are starting from scratch. 180 $do_binned_images = 0 unless $dump_config; 178 181 } 179 182 if ($do_binned_images) { … … 490 493 check_output($configuration, 1) if $dump_config; 491 494 check_output($backmdl, 1) if $outputBackmdlExpect; 492 check_output($pattern, 1) if $outputPatternExpect; 495 # allow the pattern file to be missing if run state is update older data doesn't have one 496 # I should parse the config dump file to calculate the 'Expect' variables 497 check_output($pattern, 1, $run_state eq 'update') if $outputPatternExpect; 493 498 if ($do_photom) { 494 499 check_output($outputSources, 1); … … 701 706 my $file = shift; 702 707 my $replicate = shift; 708 my $allow_missing = shift; 703 709 704 710 if (!defined $file) { … … 706 712 } 707 713 708 &my_die("Couldn't find expected output file: $file", $exp_id, $chip_id, $class_id, $PS_EXIT_SYS_ERROR) unless $ipprc->file_exists($file); 714 my $exists = $ipprc->file_exists($file); 715 716 if (!$exists) { 717 if ($allow_missing) { 718 carp("Couldn't find expected output_file: $file but continuing anyways\n"); 719 return 1; 720 } 721 &my_die("Couldn't find expected output file: $file", $exp_id, $chip_id, $class_id, $PS_EXIT_SYS_ERROR); 722 } 709 723 710 724 if ($replicate and $neb) {
Note:
See TracChangeset
for help on using the changeset viewer.
