Arts-of-coding commited on
Commit
6badc30
·
verified ·
1 Parent(s): d0e2e1a

Update dash_plotly_QC_scRNA.py

Browse files
Files changed (1) hide show
  1. dash_plotly_QC_scRNA.py +3 -3
dash_plotly_QC_scRNA.py CHANGED
@@ -48,7 +48,7 @@ storage_options={'account_name': AZURE_STORAGE_ACCOUNT, 'account_key': AZURE_STO
48
  #azfs = AzureBlobFileSystem(**storage_options )
49
 
50
  #df = pl.read_parquet(filepath,storage_options=storage_options)
51
- df= None
52
  #abfs = AzureBlobFileSystem(account_name=accountname,account_key=accountkey)
53
  #df = df.rename({"__index_level_0__": "Unnamed: 0"})
54
 
@@ -63,8 +63,8 @@ tab0_content = html.Div([
63
  ])
64
 
65
  @app.callback(
66
- Input(component_id='dpdn1', component_property='value'),
67
- Output('output-div', 'children'))
68
  def update_dataset(dataset_chosen):
69
  global df
70
  filepath = f"az://data10xflex/{dataset_chosen}.parquet"
 
48
  #azfs = AzureBlobFileSystem(**storage_options )
49
 
50
  #df = pl.read_parquet(filepath,storage_options=storage_options)
51
+ df = pl.DataFrame()
52
  #abfs = AzureBlobFileSystem(account_name=accountname,account_key=accountkey)
53
  #df = df.rename({"__index_level_0__": "Unnamed: 0"})
54
 
 
63
  ])
64
 
65
  @app.callback(
66
+ Input(component_id='dpdn1', component_property='value')
67
+ )
68
  def update_dataset(dataset_chosen):
69
  global df
70
  filepath = f"az://data10xflex/{dataset_chosen}.parquet"