Spaces:
No application file
No application file
Update app.py
Browse files
app.py
CHANGED
|
@@ -129,9 +129,10 @@ def check_and_fix_executable_permissions(filepath):
|
|
| 129 |
return True
|
| 130 |
return False
|
| 131 |
except Exception as e:
|
| 132 |
-
logging.error(f"Failed to fix permissions for {filepath
|
| 133 |
return False
|
| 134 |
|
|
|
|
| 135 |
def enhanced_check_tool_availability():
|
| 136 |
"""Enhanced check for MAFFT and IQ-TREE availability with permission fixing and MAFFT_BINARIES unset"""
|
| 137 |
# Unset MAFFT_BINARIES to fix version check issue
|
|
|
|
| 129 |
return True
|
| 130 |
return False
|
| 131 |
except Exception as e:
|
| 132 |
+
logging.error(f"Failed to fix permissions for {filepath}: {e}")
|
| 133 |
return False
|
| 134 |
|
| 135 |
+
|
| 136 |
def enhanced_check_tool_availability():
|
| 137 |
"""Enhanced check for MAFFT and IQ-TREE availability with permission fixing and MAFFT_BINARIES unset"""
|
| 138 |
# Unset MAFFT_BINARIES to fix version check issue
|