Skip to content

Commit

Permalink
fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
lakras authored Nov 22, 2023
1 parent 4d5db7b commit f9b6420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/detect_potential_cross_contamination.pl
Original file line number Diff line number Diff line change
Expand Up @@ -684,14 +684,14 @@
foreach my $position_item(@position_items)
{
# fills in ranges
if($line =~ /(\d+)\-(\d+)/)
if($position_item =~ /(\d+)\-(\d+)/)
{
my $first_position = $1;
my $last_position = $2;

for(my $position = $first_position; $position <= $last_position; $position++)
{
$position{$position_item} = 1;
$position_is_masked{$position_item} = 1;
}
}

Expand Down

0 comments on commit f9b6420

Please sign in to comment.