emmas96 commited on
Commit
7a60b00
·
1 Parent(s): daeb1af

indentation

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -305,11 +305,11 @@ def display_protein():
305
  struct = bsio.load_structure('predicted.pdb', extra_fields=["b_factor"])
306
  b_value = round(struct.b_factor.mean(), 4)
307
  render_mol(pdb_string)
308
- if residues_marker:
309
- start[3] = showmol(render_pdb_resn(viewer = render_pdb(id = id_PDB),resn_lst = [residues_marker]))
310
- else:
311
- start[3] = showmol(render_pdb(id = id_PDB))
312
- st.session_state['xq'] = st.session_state.model
313
 
314
  # example proteins ["HXHVWPVQDAKARFSEFLDACITEGPQIVSRRGAEEAVLVPIGEWRRLQAAA"], ["AHKLFIGGLPNYLNDDQVKELLTSFGPLKAFNLVKDSATGLSKGYAFCEYVDINVTDQAIAGLNGMQLGDKKLLVQRASVGAKNA"]
315
  """
 
305
  struct = bsio.load_structure('predicted.pdb', extra_fields=["b_factor"])
306
  b_value = round(struct.b_factor.mean(), 4)
307
  render_mol(pdb_string)
308
+ if residues_marker:
309
+ start[3] = showmol(render_pdb_resn(viewer = render_pdb(id = id_PDB),resn_lst = [residues_marker]))
310
+ else:
311
+ start[3] = showmol(render_pdb(id = id_PDB))
312
+ st.session_state['xq'] = st.session_state.model
313
 
314
  # example proteins ["HXHVWPVQDAKARFSEFLDACITEGPQIVSRRGAEEAVLVPIGEWRRLQAAA"], ["AHKLFIGGLPNYLNDDQVKELLTSFGPLKAFNLVKDSATGLSKGYAFCEYVDINVTDQAIAGLNGMQLGDKKLLVQRASVGAKNA"]
315
  """