Fix for GMAJ tool when species chromosomes are not specified. Error appears in paster.log as 'TypeError: iterable argument required'

This commit is contained in:
Daniel Blankenberg
2008-09-03 12:06:33 -04:00
parent acb14a2b1b
commit d112668c6a
+1 -1
View File
@@ -82,7 +82,7 @@ nowarn = $nowarn
#set $seq_count = 0
#for $spec_count, $annotation in $enumerate( $annotations ):
#if $annotation['species'].value in $maf_input.metadata.species_chromosomes and $maf_input.metadata.species_chromosomes[$annotation['species'].value]:
#if $maf_input.metadata.species_chromosomes and $annotation['species'].value in $maf_input.metadata.species_chromosomes and $maf_input.metadata.species_chromosomes[$annotation['species'].value]:
#set $seq_names = [ "%s.%s" % ( $annotation['species'].value, $chrom ) for $chrom in $maf_input.metadata.species_chromosomes[$annotation['species'].value]]
#else
#set $seq_names = [$annotation['species'].value]