re-type commited on
Commit
966c834
·
verified ·
1 Parent(s): 9c289cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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, Nonedef analyze_sequence_for_tree(sequence: str, matching_percentage: float):
 
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: