Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -66,9 +66,9 @@ def pyuul(folder,n_clusters):
|
|
66 |
return sheet
|
67 |
|
68 |
def kmeans(ligend,n_clusters,n_num):
|
69 |
-
azip = zipfile.ZipFile("
|
70 |
-
azip.extractall(
|
71 |
-
peptide_folder_path = pathlib.Path(__file__).parent.joinpath("
|
72 |
pdb_folder = pathlib.Path(__file__).parent.joinpath("temp")
|
73 |
ligend_path = ligend.name
|
74 |
shutil.copy(ligend_path,pdb_folder)
|
|
|
66 |
return sheet
|
67 |
|
68 |
def kmeans(ligend,n_clusters,n_num):
|
69 |
+
azip = zipfile.ZipFile("peptides.zip")
|
70 |
+
azip.extractall()
|
71 |
+
peptide_folder_path = pathlib.Path(__file__).parent.joinpath("peptides" )
|
72 |
pdb_folder = pathlib.Path(__file__).parent.joinpath("temp")
|
73 |
ligend_path = ligend.name
|
74 |
shutil.copy(ligend_path,pdb_folder)
|