oucgc1996 commited on
Commit
b451ff6
1 Parent(s): 90942b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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("peptide.zip")
70
- azip.extractall("peptide")
71
- peptide_folder_path = pathlib.Path(__file__).parent.joinpath("peptide/peptide" )
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)