PhDFlo commited on
Commit
3cd15af
·
1 Parent(s): 934ff68

file in write mode

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def compute_Chai1(
37
  fasta_file = here / "inputs" / "chai1_default_input.fasta"
38
  else:
39
  name_file = here / "inputs" / "chai1_custom_input.fasta"
40
- with open(fasta_file, "a") as f:
41
  f.write(fasta_file)
42
  fasta_file = name_file
43
 
 
37
  fasta_file = here / "inputs" / "chai1_default_input.fasta"
38
  else:
39
  name_file = here / "inputs" / "chai1_custom_input.fasta"
40
+ with open(fasta_file, "w") as f:
41
  f.write(fasta_file)
42
  fasta_file = name_file
43