X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Flist_genomes;h=accaffe9ca1e4953d8e3e57caa17a54225aa172f;hb=cb41f472b532613a00a69d2cb03afc88d4f4811d;hp=2c8fb1d79e313f8ae928a8fe8672d29d1d4cc50c;hpb=5aed4676ad1bf35abbade6215ac90ee591e6d8fe;p=biopieces.git diff --git a/bp_bin/list_genomes b/bp_bin/list_genomes index 2c8fb1d..accaffe 100755 --- a/bp_bin/list_genomes +++ b/bp_bin/list_genomes @@ -26,7 +26,9 @@ # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< +use warnings; use strict; +use Term::ANSIColor; use Maasha::Common; use Maasha::Biopieces; @@ -70,9 +72,9 @@ foreach $genome ( sort keys %hash ) foreach $format ( sort keys %found ) { if ( exists $hash{ $genome }{ $format } ) { - push @row, "yes"; + push @row, colored( "yes", "green" ); } else { - push @row, "no"; + push @row, colored( "no", "red" ); } }