Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
|
@@ -262,7 +262,8 @@ def phylogenetic_placement(sequence: str, mafft_cmd: str, iqtree_cmd: str):
|
|
| 262 |
os.unlink(query_fasta)
|
| 263 |
except Exception as cleanup_error:
|
| 264 |
logger.warning(f"Failed to clean up {query_fasta}: {cleanup_error}")
|
| 265 |
-
return False, f"Error: {str(main_error)}", None,
|
|
|
|
| 266 |
try:
|
| 267 |
logger.debug("Starting tree analysis...")
|
| 268 |
if not analyzer:
|
|
|
|
| 262 |
os.unlink(query_fasta)
|
| 263 |
except Exception as cleanup_error:
|
| 264 |
logger.warning(f"Failed to clean up {query_fasta}: {cleanup_error}")
|
| 265 |
+
return False, f"Error: {str(main_error)}", None, None
|
| 266 |
+
def analyze_sequence_for_tree(sequence: str, matching_percentage: float):
|
| 267 |
try:
|
| 268 |
logger.debug("Starting tree analysis...")
|
| 269 |
if not analyzer:
|