Skip to content

Commit

Permalink
Update fai.py
Browse files Browse the repository at this point in the history
  • Loading branch information
raufs authored Aug 23, 2023
1 parent 6e680c3 commit 3b45c1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zol/fai.py
Original file line number Diff line number Diff line change
Expand Up @@ -1487,8 +1487,8 @@ def plotTreeHeatmap(homologous_gbk_dir, hmm_work_dir, species_tree, plot_phylo_d
all_samples_in_tree.add(node.name)

if len(all_samples_in_tree.intersection(set(sample_final_lts.keys()))) == 0:
logObject.warning('Unable to generate phylogenetic-heatmap because species tree provided doesn't match target genomes searched against.')
sys.stderr.write('Warning: Unable to generate phylogenetic-heatmap because species tree provided doesn't match target genomes searched against.\n')
logObject.warning('Unable to generate phylogenetic-heatmap because species tree provided doesn\'t match target genomes searched against.')
sys.stderr.write('Warning: Unable to generate phylogenetic-heatmap because species tree provided doesn\'t match target genomes searched against.\n')
return

gbk_info_dir = hmm_work_dir + 'GeneCluster_Info/'
Expand Down

0 comments on commit 3b45c1f

Please sign in to comment.