Update app.py
Browse files
app.py
CHANGED
|
@@ -56,8 +56,8 @@ def main(input_file_path, species):
|
|
| 56 |
print(model_loc)
|
| 57 |
|
| 58 |
# Verify adata_path is not None
|
| 59 |
-
if
|
| 60 |
-
raise ValueError(f"Invalid adata_path: {
|
| 61 |
|
| 62 |
# Construct the command
|
| 63 |
command = [
|
|
|
|
| 56 |
print(model_loc)
|
| 57 |
|
| 58 |
# Verify adata_path is not None
|
| 59 |
+
if input_file_path is None or not os.path.exists(input_file_path):
|
| 60 |
+
raise ValueError(f"Invalid adata_path: {input_file_path}. Please check if the file exists.")
|
| 61 |
|
| 62 |
# Construct the command
|
| 63 |
command = [
|