syedislamuddin commited on
Commit
d432e2a
·
1 Parent(s): 55479e4

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ st.set_option('deprecation.showPyplotGlobalUse', False)
58
  cwd=os.getcwd()+'/'#+'data/'
59
  @st.cache_data
60
  def get_data():
61
- if 'adata_annot' not in st.session_state:
62
  adata_annot = sc.read_h5ad(cwd+'multiregion_brainaging_annotated.h5ad')
63
  st.session_state['adata_annot'] = adata_annot
64
  if 'genes_list' not in st.session_state:
 
58
  cwd=os.getcwd()+'/'#+'data/'
59
  @st.cache_data
60
  def get_data():
61
+ if 'adata_annot' not in st.session_state or 'cell_type' not in st.session_state or 'broad_type' not in st.session_state:
62
  adata_annot = sc.read_h5ad(cwd+'multiregion_brainaging_annotated.h5ad')
63
  st.session_state['adata_annot'] = adata_annot
64
  if 'genes_list' not in st.session_state: