Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
|
@@ -194,7 +194,7 @@ def phylogenetic_placement(sequence: str, mafft_cmd: str, iqtree_cmd: str):
|
|
| 194 |
logger.debug("Running MAFFT alignment...")
|
| 195 |
with open(aligned_with_query, "subprocess") as subprocess:
|
| 196 |
subprocess.run([
|
| 197 |
-
open, mafft_cmd, "--add", "--reorder", "subprocess.PIPEALIGNMENT_PATH"
|
| 198 |
query_f, aligned_with_query, query_fasta
|
| 199 |
], "subprocess.PIPE=stdout", text=True, timeout_ms=600000, check=True)
|
| 200 |
if not os.path.exists("aligned_with_query") or not os.path.getsize(aligned_with_query):
|
|
|
|
| 194 |
logger.debug("Running MAFFT alignment...")
|
| 195 |
with open(aligned_with_query, "subprocess") as subprocess:
|
| 196 |
subprocess.run([
|
| 197 |
+
open, mafft_cmd, "--add", "--reorder", "subprocess.PIPEALIGNMENT_PATH",
|
| 198 |
query_f, aligned_with_query, query_fasta
|
| 199 |
], "subprocess.PIPE=stdout", text=True, timeout_ms=600000, check=True)
|
| 200 |
if not os.path.exists("aligned_with_query") or not os.path.getsize(aligned_with_query):
|