Skip to content

Commit

Permalink
reomve tmpfile output
Browse files Browse the repository at this point in the history
  • Loading branch information
snacktavish committed Aug 8, 2019
1 parent f2601bb commit d3bd0f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions physcraper/scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,9 @@ def run_blast_wrapper(self): # TODO Should this be happening elsewhere?
log.write("Blast run {} \n".format(datetime.date.today()))
for taxon, seq in self.data.aln.items():
otu_id = taxon.label
tmpfile = open("{}/{}.tmp".format(self.workdir, otu_id),"w")
tmpfile.write(seq.symbols_as_string())
tmpfile.write("\n")
# tmpfile = open("{}/{}.tmp".format(self.workdir, otu_id),"w")
# tmpfile.write(seq.symbols_as_string())
# tmpfile.write("\n")
assert otu_id in self.data.otu_dict
last_blast = self.data.otu_dict[otu_id]['^physcraper:last_blasted']
if last_blast == None:
Expand Down

0 comments on commit d3bd0f2

Please sign in to comment.