Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -54,6 +54,7 @@ def make_scaffold_motifs(pdb_code, start_idx, end_idx, scaffold_length, model_ty
|
|
54 |
# print("Folders in Current Directory:", os.listdir())
|
55 |
# print("Folders in User Directory:", os.listdir("/home/user/"))
|
56 |
# print("Folders in User Cache Directory:", os.listdir("/home/user/.cache"))
|
|
|
57 |
start_idx = list(map(int, start_idx.strip('][').split(',')))
|
58 |
end_idx = list(map(int, end_idx.strip('][').split(',')))
|
59 |
generated_sequence, new_start_idx, new_end_idx = generate_scaffold(model, pdb_code, start_idx, end_idx, scaffold_length, data_top_dir, tokenizer, device='cpu')
|
|
|
54 |
# print("Folders in Current Directory:", os.listdir())
|
55 |
# print("Folders in User Directory:", os.listdir("/home/user/"))
|
56 |
# print("Folders in User Cache Directory:", os.listdir("/home/user/.cache"))
|
57 |
+
print("Folders in User Cache Directory:", [ f.path for f in os.scandir("/home/user/.cache") if f.is_dir() ])
|
58 |
start_idx = list(map(int, start_idx.strip('][').split(',')))
|
59 |
end_idx = list(map(int, end_idx.strip('][').split(',')))
|
60 |
generated_sequence, new_start_idx, new_end_idx = generate_scaffold(model, pdb_code, start_idx, end_idx, scaffold_length, data_top_dir, tokenizer, device='cpu')
|