Changeset 136
Legend:
- Unmodified
- Added
- Removed
-
shepherd
r135 r136 589 589 590 590 # Eliminate grabbers of data quality 1 if there are any better-quality 591 # alternatives. 592 foreach (keys %$gscore) 593 { 594 if ($gscore->{$_} 595 and 596 query_config($_, 'quality') == 1 597 and 598 $bestdq > 1) 599 { 600 $total -= $gscore->{$_}; 601 $gscore->{$_} = 0; 602 print "Zeroing grabber $_ due to low data quality.\n" if ($debug); 591 # alternatives when using randomize. 592 if ($opt->{randomize}) 593 { 594 foreach (keys %$gscore) 595 { 596 if ($gscore->{$_} 597 and 598 query_config($_, 'quality') == 1 599 and 600 $bestdq > 1) 601 { 602 $total -= $gscore->{$_}; 603 $gscore->{$_} = 0; 604 print "Zeroing grabber $_ due to low data quality.\n" if ($debug); 605 } 603 606 } 604 607 }
