Spaces:
Sleeping
Sleeping
remove debugging prints
Browse files
app.py
CHANGED
|
@@ -22,8 +22,6 @@ def move_file_to_output(file, output_dir):
|
|
| 22 |
|
| 23 |
dest_path.parent.mkdir(parents=True, exist_ok=True)
|
| 24 |
shutil.copy2(src_path, dest_path) # preserves metadata
|
| 25 |
-
print(f"Moved file from {src_path} to {dest_path}")
|
| 26 |
-
print("Dest file exists:", dest_path.exists())
|
| 27 |
#subprocess.run(["ls", "-l", str(dest_path.parent)], check=True) # Debug: list files in output dir
|
| 28 |
|
| 29 |
|
|
@@ -88,8 +86,6 @@ def run_boltzgen(yaml_file, target_file, protocol, num_designs, budget, max_dura
|
|
| 88 |
|
| 89 |
# Move config and target files to the output directory
|
| 90 |
yaml_path_dest, target_path_dest = move_files_to_output(yaml_file, target_file, output_dir)
|
| 91 |
-
print("yaml file exists in output dir:", yaml_path_dest.exists())
|
| 92 |
-
print("target file exists in output dir:", target_path_dest.exists())
|
| 93 |
|
| 94 |
|
| 95 |
status_message = f"Running BoltzGen with protocol '{protocol}' for {num_designs} designs and budget {budget} tokens."
|
|
|
|
| 22 |
|
| 23 |
dest_path.parent.mkdir(parents=True, exist_ok=True)
|
| 24 |
shutil.copy2(src_path, dest_path) # preserves metadata
|
|
|
|
|
|
|
| 25 |
#subprocess.run(["ls", "-l", str(dest_path.parent)], check=True) # Debug: list files in output dir
|
| 26 |
|
| 27 |
|
|
|
|
| 86 |
|
| 87 |
# Move config and target files to the output directory
|
| 88 |
yaml_path_dest, target_path_dest = move_files_to_output(yaml_file, target_file, output_dir)
|
|
|
|
|
|
|
| 89 |
|
| 90 |
|
| 91 |
status_message = f"Running BoltzGen with protocol '{protocol}' for {num_designs} designs and budget {budget} tokens."
|