cgeorgiaw HF Staff commited on
Commit
7d9eeed
·
verified ·
1 Parent(s): 386fb8f

Rename tabs to Genome Atlas, Data Bank, and Wet Lab

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -130,9 +130,9 @@ def build_app(catalog=None):
130
 
131
  with gr.Blocks(title="GenBank Annotation Explorer", delete_cache=(3600, 3600)) as demo:
132
  with gr.Tabs(selected="atlas", elem_id="atlas-navigation"):
133
- with gr.Tab("Genome atlas", id="atlas", elem_id="atlas-overview"):
134
  build_taxonomy_tab()
135
- with gr.Tab("Data bank", id="data-bank", elem_id="atlas-data-bank"):
136
  gr.HTML('<header class="data-bank-heading"><p class="data-bank-eyebrow">THE ANNOTATION COLLECTION</p>'
137
  '<h1>Explore the data bank</h1><p>Find an accession, explore its coding landscape, and download the annotations.</p></header>',
138
  apply_default_css=False)
@@ -193,7 +193,7 @@ def build_app(catalog=None):
193
  f"Index updated {catalog.manifest['created_at'][:10]}." if remote_mode else "Offline sample."), elem_classes="quiet-note")
194
  gr.Dataframe(value=catalog.table(all_ids), interactive=False)
195
  gr.JSON(value=catalog.manifest, label="Index provenance" if remote_mode else "Sample provenance")
196
- with gr.Tab("Wet Lab Experiments", id="wet-lab", elem_id="atlas-wet-lab"):
197
  gr.HTML('<header class="data-bank-heading"><p class="data-bank-eyebrow">FROM PREDICTION TO EXPERIMENT</p>'
198
  '<h1>Wet lab experiments</h1><p>Explore the experimental evidence behind our genome annotations.</p></header>',
199
  apply_default_css=False)
 
130
 
131
  with gr.Blocks(title="GenBank Annotation Explorer", delete_cache=(3600, 3600)) as demo:
132
  with gr.Tabs(selected="atlas", elem_id="atlas-navigation"):
133
+ with gr.Tab("Genome Atlas", id="atlas", elem_id="atlas-overview"):
134
  build_taxonomy_tab()
135
+ with gr.Tab("Data Bank", id="data-bank", elem_id="atlas-data-bank"):
136
  gr.HTML('<header class="data-bank-heading"><p class="data-bank-eyebrow">THE ANNOTATION COLLECTION</p>'
137
  '<h1>Explore the data bank</h1><p>Find an accession, explore its coding landscape, and download the annotations.</p></header>',
138
  apply_default_css=False)
 
193
  f"Index updated {catalog.manifest['created_at'][:10]}." if remote_mode else "Offline sample."), elem_classes="quiet-note")
194
  gr.Dataframe(value=catalog.table(all_ids), interactive=False)
195
  gr.JSON(value=catalog.manifest, label="Index provenance" if remote_mode else "Sample provenance")
196
+ with gr.Tab("Wet Lab", id="wet-lab", elem_id="atlas-wet-lab"):
197
  gr.HTML('<header class="data-bank-heading"><p class="data-bank-eyebrow">FROM PREDICTION TO EXPERIMENT</p>'
198
  '<h1>Wet lab experiments</h1><p>Explore the experimental evidence behind our genome annotations.</p></header>',
199
  apply_default_css=False)