Skip to content

Commit

Permalink
update mrca with new synth
Browse files Browse the repository at this point in the history
  • Loading branch information
snacktavish committed Nov 13, 2019
1 parent 232f13f commit 566baef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_mrca_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,18 @@ def test_no_mrca():

# print(ids.mrca_ott, ids.mrca_ncbi)
data_obj = pickle.load(open("tests/data/precooked/tiny_dataobj.p", 'rb'))

filteredScrape = PhyscraperScrape(data_obj, ids, ingroup_mrca)
filteredScrape.threshold = 5
assert filteredScrape.mrca_ncbi == 18794
assert filteredScrape.mrca_ncbi == 795077

blast_dir = "tests/data/precooked/fixed/tte_blast_files"
filteredScrape._blasted = 1
filteredScrape.read_blast_wrapper(blast_dir=blast_dir)
filteredScrape.remove_identical_seqs()
assert len(filteredScrape.new_seqs_otu_id) in [23,17] #Blurghhh, local vs remote searches get diffenrt number of seqs!



if __name__ == "__main__":
test_no_mrca()

0 comments on commit 566baef

Please sign in to comment.