Skip to content

Commit

Permalink
fix counting
Browse files Browse the repository at this point in the history
  • Loading branch information
mkandziora committed Nov 9, 2018
1 parent d428f18 commit 0af8870
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions physcraper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2269,7 +2269,8 @@ def est_full_tree(self):
self._full_tree_est = 1

def calculate_bootstrap(self):
"""calculate bootstrap and consensus trees
"""Calculates bootstrap and consensus trees.
-p: random seed
-s: aln file
-n: output fn
Expand Down Expand Up @@ -2909,7 +2910,7 @@ def replace_new_seq(self):
self.data.otu_dict[key]['^physcraper:last_blasted'] = "1900/01/01"

print(self.data.otu_dict[key]['^physcraper:status'])
if self.data.otu_dict[key]['^physcraper:status'] == "query":
if self.data.otu_dict[key]['^physcraper:status'] == "query" or self.data.otu_dict[key]['^physcraper:status'].split(" ")[0] == new :
self.data.otu_dict[key]['^physcraper:status'] = 'not added, there are enough seq per sp in tre'

for gb_id in keylist:
Expand Down

0 comments on commit 0af8870

Please sign in to comment.