simonduerr commited on
Commit
62f36f4
1 Parent(s): 91fa11f

Update utils/helpers.py

Browse files
Files changed (1) hide show
  1. utils/helpers.py +3 -2
utils/helpers.py CHANGED
@@ -109,13 +109,14 @@ def get_all_metalbinding_resids(pdb_file):
109
  """
110
 
111
  try:
112
- prot = Molecule('files/2CBA.pdb')
113
  except:
114
  exit("could not read file")
115
  prot.filter("protein")
116
  return prot.get(
117
  "index",
118
- sel="name CA and resname HIS HID HIE HIP CYS CYX GLU GLH GLN ASP ASH ASN GLN MET",
 
119
  )
120
 
121
 
 
109
  """
110
 
111
  try:
112
+ prot = Molecule(pdb_file)
113
  except:
114
  exit("could not read file")
115
  prot.filter("protein")
116
  return prot.get(
117
  "index",
118
+ sel="name CA and resid 94 96 119"
119
+ #sel="name CA and resname HIS HID HIE HIP CYS CYX GLU GLH GLN ASP ASH ASN GLN MET",
120
  )
121
 
122