indentation
Browse files
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 |
-
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
| 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 |
"""
|