Commit e21bdbcf authored by Ryan Herbert's avatar Ryan Herbert Committed by Mikaël Salson
Browse files tempfile specify mode.

This is mostly for Python3 compatibility. The default mode seems to
differ between Pyton 2 and 3, causing and issue when attempting to run
fuse with Pyton 3
parent fce6dad2
......@@ -791,7 +791,7 @@ def main():
for i in range(len(jlist_fused.d["clones"])) :
fasta += ">>" + str(i) + "\n"
fasta += jlist_fused.d["clones"][i].d["id"] + "\n"
fasta_file = tempfile.NamedTemporaryFile(delete=False)
fasta_file = tempfile.NamedTemporaryFile(mode="w", delete=False)
out = subprocess.check_output([TOOL_SIMILARITY, "-j",])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment