Skip to content

Commit

Permalink
Merge pull request #40 from Kalan-Lab/raufs-patch-1
Browse files Browse the repository at this point in the history
Update fai.py
  • Loading branch information
raufs authored Aug 23, 2023
2 parents 6e680c3 + 3b45c1f commit 7c835db
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 7c835db

Please sign in to comment.