roni commited on
Commit
20d73a0
·
1 Parent(s): e9e46e1

visual improvements

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,7 +18,7 @@ def search(seq, n_res):
18
  genes = ','.join(res["gene_ids"])
19
  key = f"PDB: {prot} | Chain: {chain}"
20
  if genes != 'Unknown':
21
- key += f" | Genes: {genes}"
22
  outputs[key] = value
23
  return outputs
24
 
@@ -32,7 +32,7 @@ with gr.Blocks() as demo:
32
  gr.Markdown("""
33
  # Protein Binding Search Engine
34
  This application examines all files uploaded to [PDB](https://www.rcsb.org/) to find the chains with which a given protein sequence is most likely to bind.
35
- If the results are linked to specific genes, their IDs will also be displayed.
36
  """)
37
  with gr.Row():
38
  with gr.Column():
 
18
  genes = ','.join(res["gene_ids"])
19
  key = f"PDB: {prot} | Chain: {chain}"
20
  if genes != 'Unknown':
21
+ key += f" | Gene: {genes}"
22
  outputs[key] = value
23
  return outputs
24
 
 
32
  gr.Markdown("""
33
  # Protein Binding Search Engine
34
  This application examines all files uploaded to [PDB](https://www.rcsb.org/) to find the chains with which a given protein sequence is most likely to bind.
35
+ If the results are linked to a specific gene, their IDs will also be displayed.
36
  """)
37
  with gr.Row():
38
  with gr.Column():