Changeset 34635
- Timestamp:
- Oct 31, 2012, 6:28:50 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/lap_science.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/lap_science.pl
r34313 r34635 671 671 # } 672 672 # Do quality checks here 673 if ($verbose) { 674 printf("TEST: %d %d %d\n",$exposure->{exp_id},$exposure->{chip_id},$exposure->{chip_component_count}); 675 } 676 # Checks to ensure we do not divide by zero. Mostly happens with old diffs, it seems. 677 if ($exposure->{chip_component_count} == 0) { 678 $exposure->{chip_component_count} = 1; 679 } 680 if ($exposure->{cam_component_count} == 0) { 681 $exposure->{cam_component_count} = 1; 682 } 683 if ($exposure->{warp_component_count} == 0) { 684 $exposure->{warp_component_count} = 1; 685 } 686 if ($exposure->{diff_component_count} == 0) { 687 $exposure->{diff_component_count} = 1; 688 } 689 673 690 my $is_bad_quality = 0; 674 691 if ((defined($exposure->{chipRun_state}))&&($exposure->{chipRun_state} eq 'full')&&
Note:
See TracChangeset
for help on using the changeset viewer.
