simonduerr commited on
Commit
1f8abe6
1 Parent(s): 572d3a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def update(inp, file, mode, custom_resids, clustering_threshold):
54
  if mode == "All residues":
55
  ids = get_all_protein_resids(filepath)
56
  elif len(custom_resids)!=0:
57
- ids = [int(x) for x in custom_resids.split(',')]
58
  else:
59
  ids = get_all_metalbinding_resids(filepath)
60
 
 
54
  if mode == "All residues":
55
  ids = get_all_protein_resids(filepath)
56
  elif len(custom_resids)!=0:
57
+ ids=get_all_resids_from_list(custom_resids.replace(","," "))
58
  else:
59
  ids = get_all_metalbinding_resids(filepath)
60