fatmacankara commited on
Commit
36195d7
·
1 Parent(s): dc3a349

Update code/add_structure.py

Browse files
Files changed (1) hide show
  1. code/add_structure.py +0 -7
code/add_structure.py CHANGED
@@ -302,7 +302,6 @@ def match3DModels(data):
302
  for i in data.index:
303
  pos = int(data.at[i, 'pos'])
304
  coords = data.at[i, 'coordinates']
305
- st.write('POS', pos)
306
  if type(coords) != dict:
307
  coordinates = ast.literal_eval(coords)
308
  else:
@@ -312,10 +311,6 @@ def match3DModels(data):
312
  if data.at[i, 'distance'] == -1000:
313
  domStart = data.at[i, 'domStart']
314
  domEnd = data.at[i, 'domEnd']
315
- st.write('domStart', domStart)
316
- st.write('domEnd', domEnd)
317
- st.write(domainDistanceModels(domStart, domEnd, coordinates, pos))
318
- data.at[i, 'distance'] = domainDistanceModels(domStart, domEnd, coordinates, pos)
319
  for col in UNIPROT_ANNOTATION_COLS[0:30]:
320
  allDist = []
321
  st.write('col', col, data.at[i, col], len(data.at[i, col]))
@@ -328,8 +323,6 @@ def match3DModels(data):
328
  except KeyError:
329
  coordAnnot = []
330
  distance = find_distance(coordMut, coordAnnot)
331
- st.write('DISTANCE')
332
- st.write(distance)
333
  allDist.append(distance)
334
 
335
  if len(allDist)>0:
 
302
  for i in data.index:
303
  pos = int(data.at[i, 'pos'])
304
  coords = data.at[i, 'coordinates']
 
305
  if type(coords) != dict:
306
  coordinates = ast.literal_eval(coords)
307
  else:
 
311
  if data.at[i, 'distance'] == -1000:
312
  domStart = data.at[i, 'domStart']
313
  domEnd = data.at[i, 'domEnd']
 
 
 
 
314
  for col in UNIPROT_ANNOTATION_COLS[0:30]:
315
  allDist = []
316
  st.write('col', col, data.at[i, col], len(data.at[i, col]))
 
323
  except KeyError:
324
  coordAnnot = []
325
  distance = find_distance(coordMut, coordAnnot)
 
 
326
  allDist.append(distance)
327
 
328
  if len(allDist)>0: