Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def kmeans(ligend,n_clusters,n_num):
|
|
67 |
peptide_folder_path = pathlib.Path(__file__).parent.joinpath("peptide" )
|
68 |
pdb_folder = pathlib.Path(__file__).parent.joinpath("temp")
|
69 |
ligend_path = ligend.name
|
70 |
-
shutil.
|
71 |
for i in range(1,n_num+1):
|
72 |
if i == 1:
|
73 |
add_file_to_folder(peptide_folder_path,pdb_folder)
|
|
|
67 |
peptide_folder_path = pathlib.Path(__file__).parent.joinpath("peptide" )
|
68 |
pdb_folder = pathlib.Path(__file__).parent.joinpath("temp")
|
69 |
ligend_path = ligend.name
|
70 |
+
shutil.copy(ligend_path,pdb_folder)
|
71 |
for i in range(1,n_num+1):
|
72 |
if i == 1:
|
73 |
add_file_to_folder(peptide_folder_path,pdb_folder)
|