Skip to content

Commit

Permalink
PrintGeneric: Fix significance testing
Browse files Browse the repository at this point in the history
PrintGeneric module doesn't have CompareTable defined, thus significance
data was never printed. Fix it.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
  • Loading branch information
jankara authored and gormanm committed Dec 2, 2024
1 parent 8cd087a commit 4fc8852
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/lib/MMTests/PrintGeneric.pm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ sub printRow($$@) {
my ($self, $dataRef, $fieldLength, $formatColumnRef) = @_;
my @formatColumnList = @{$formatColumnRef};;
my $outBuffer;
my $checkSig = (defined $self->{_CompareTable});

foreach my $row (@{$dataRef}) {
my $columnIndex = 0;
Expand All @@ -47,7 +46,7 @@ sub printRow($$@) {
my $format = $formatColumnList[$columnIndex++];
$format = "%${fieldLength}.2f" if !defined($format);

if ($checkSig && $column =~ /:SIG:$/) {
if ($column =~ /:SIG:$/) {
$format =~ s/[()]/*/g;
}

Expand Down

0 comments on commit 4fc8852

Please sign in to comment.