Skip to content

Commit

Permalink
fix: Correct logic in analysis plotting script that determines y-axis…
Browse files Browse the repository at this point in the history
… range
  • Loading branch information
abensonca committed Aug 17, 2021
1 parent 2774f03 commit 1db4c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/analysis/analysesPlot.pl
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ sub function1DPlot {
my $nonZero;
my $nonZeroTarget;
my $nonZeroBoth;
if ( $attributes->{'yAxisIsLog'} || ($options{'excludeZeros'} && $options{'excludeZeros'} eq "no") ) {
if ( ! $attributes->{'yAxisIsLog'} || ($options{'excludeZeros'} && $options{'excludeZeros'} eq "no") ) {
$nonZero = pdl sequence(nelem($data->{'yDataset'}));
$nonZeroTarget = pdl sequence(nelem($data->{'yDataset'}));
$nonZeroBoth = pdl sequence(nelem($data->{'yDataset'}));
Expand Down

0 comments on commit 1db4c80

Please sign in to comment.