X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Flist_genomes;h=accaffe9ca1e4953d8e3e57caa17a54225aa172f;hb=e5b4c0d3fcbde504c49d6f69e2791bd74434d0d2;hp=f5e6d4d8e4ec1f27675127829e28af25a5ed97b6;hpb=9bf550c4335d8860c5f6f9c4db0f385f1b36c1dd;p=biopieces.git diff --git a/bp_bin/list_genomes b/bp_bin/list_genomes index f5e6d4d..accaffe 100755 --- a/bp_bin/list_genomes +++ b/bp_bin/list_genomes @@ -28,6 +28,7 @@ use warnings; use strict; +use Term::ANSIColor; use Maasha::Common; use Maasha::Biopieces; @@ -71,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" ); } }