diff --git a/KronaTools/lib/KronaTools.pm b/KronaTools/lib/KronaTools.pm index 6117474..067edb1 100644 --- a/KronaTools/lib/KronaTools.pm +++ b/KronaTools/lib/KronaTools.pm @@ -276,7 +276,15 @@ my $fileTaxonomy = 'taxonomy.tab'; my $fileTaxByAcc = 'all.accession2taxid.sorted'; my $memberLimitDataset = 10000; my $memberLimitTotal = 100000; -my $columns = `tput cols`; +my $columns; +if (defined($ENV{TERM})) +{ + $columns = `tput cols`; +} +else +{ + $columns = 80; +} our $minEVal = -450;