Skip to content

Commit

Permalink
corrected reading in of string arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
lakras authored Nov 24, 2023
1 parent cb9af9a commit 9a28788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/detect_potential_cross_contamination.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3035,7 +3035,7 @@ sub read_in_string_argument
if($argument eq $argument_option_1 or $argument eq $argument_option_2)
{
my $next_item = $ARGV[$argument_index+1];
if($argument_index + 1 > $#ARGV or $next_item !~ /^\d+$/)
if($argument_index + 1 > $#ARGV or $next_item !~ /^.+$/)
{
print STDERR "Warning: ignoring ".$argument_option_1." | ".$argument_option_2." argument with no string.\n";
}
Expand Down

0 comments on commit 9a28788

Please sign in to comment.