Commit d53db212 authored by Mikaël Salson's avatar Mikaël Salson Committed by Mathieu Giraud

fuse.py: unlink the file in the block where it was declared

parent 4092b468
......@@ -752,12 +752,13 @@ def main():
jlist_fused.d["similarity"] = json.loads(out)
except OSError:
print("! failed: %s" % TOOL_SIMILARITY)
finally:
os.unlink(fasta_file.name)
else :
jlist_fused.d["similarity"] = [];
print("### Save merged file")
jlist_fused.save_json(args.output)
os.unlink(fasta_file.name)
......
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