Skip to content

Commit

Permalink
debug 0
Browse files Browse the repository at this point in the history
  • Loading branch information
snacktavish committed Jun 19, 2020
1 parent 1474832 commit 66d45fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions bin/physcraper_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,7 @@
to_be_blasted = [otu.label for otu in scraper.data.aln if (scraper.data.otu_dict[otu.label]['^physcraper:ingroup'] == True and scraper.data.otu_dict[otu.label]['^physcraper:last_blasted']==None)]
while len(to_be_blasted) >= 1:
run += 1
prev_workdir = scraper.workdir()
new_workdir = "{}/run{}".format(workdir, run)
os.mkdir(new_workdir)
data_obj = generate_ATT_from_run(prev_workdir, configfile=conf)
data_obj.workdir = new_workdir
scraper = physcraper.PhyscraperScrape(data_obj, ids)
sys.stdout.write("Reloaded {} taxa in alignment and tree\n".format(len(scraper.data.aln)))
scraper.run_blast_wrapper()
scraper.calculate_final_tree(boot_reps = boot_reps)
to_be_blasted = [otu.label for otu in scraper.data.aln if (scraper.data.otu_dict[otu.label]['^physcraper:ingroup'] == True and scraper.data.otu_dict[otu.label]['^physcraper:last_blasted']==None)]
elif not args.no_estimate_tree:
Expand Down
2 changes: 1 addition & 1 deletion physcraper/scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from physcraper import AWSWWW

_VERBOSE = 1
_DEBUG = 1
_DEBUG = 0
def debug(msg):
"""short debugging command
"""
Expand Down

0 comments on commit 66d45fe

Please sign in to comment.