Commit c722ca67 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

segmenter.py: Avoid file in variable name

parent 9c6fd8f6
......@@ -45,9 +45,9 @@ def segment_sequences(sequences):
#store sequences in a tmp file
file_path = folder_path + "/sequences.txt"
file = open(file_path, 'w')
file.write(sequences)
file.close()
fasta = open(file_path, 'w')
fasta.write(sequences)
fasta.close()
#store result in a tmp file
result_path = folder_path + "/sequences.vidjil"
......
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