oucgc1996 commited on
Commit
34617ce
1 Parent(s): 90fdfe7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -63,8 +63,10 @@ def pyuul(folder,n_clusters):
63
  return sheet
64
 
65
  def kmeans(ligend,n_clusters,n_num):
66
- peptide_folder_path = "/peptide/"
67
- pdb_folder = "/temp/"
 
 
68
  shutil.copyfile(ligend,pdb_folder)
69
  for i in range(1,n_num+1):
70
  if i == 1:
 
63
  return sheet
64
 
65
  def kmeans(ligend,n_clusters,n_num):
66
+ os.mkdir('/peptide')
67
+ os.mkdir('/temp')
68
+ peptide_folder_path = "peptide/"
69
+ pdb_folder = "temp/"
70
  shutil.copyfile(ligend,pdb_folder)
71
  for i in range(1,n_num+1):
72
  if i == 1: