Small update to concatenate.py

This commit is contained in:
Auden Cote-L'Heureux 2024-01-24 11:58:57 -05:00 committed by GitHub
parent 719ce9bb9d
commit 59bf186e91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -179,7 +179,7 @@ def remove_paralogs(params):
best_size = max(list(clades.values()))
#Get a list of sequences in a clade of that size
best_seqs = [seq for seq in taxseqs]# if clades[seq] == best_size]
best_seqs = [seq for seq in taxseqs if clades[seq] == best_size]
#If there is only one sequence in the best-sized clade, take it and finish
if len(best_seqs) == 1: