Arts-of-coding commited on
Commit
32035e0
1 Parent(s): ad128f4

Update dash_plotly_QC_scRNA.py

Browse files
Files changed (1) hide show
  1. dash_plotly_QC_scRNA.py +3 -4
dash_plotly_QC_scRNA.py CHANGED
@@ -70,15 +70,14 @@ tab0_content = html.Div([
70
  ])
71
 
72
  @app.callback(
73
- Output(),
74
  Input(component_id='dpdn1', component_property='value')
75
  )
76
 
77
- def update_filepath(dataset_chosen):
78
  global df
79
- if str(f"az://data10xflex/{dataset_chosen}.parquet") != str(filepath):
80
  print("not identical filepath, chosing other")
81
- df2 = pl.read_parquet(f"az://data10xflex/{dataset_chosen}.parquet", storage_options=storage_options)
82
  df = df2
83
  return
84
 
 
70
  ])
71
 
72
  @app.callback(
 
73
  Input(component_id='dpdn1', component_property='value')
74
  )
75
 
76
+ def update_filepath(dpdn1):
77
  global df
78
+ if str(f"az://data10xflex/{dpdn1}.parquet") != str(filepath):
79
  print("not identical filepath, chosing other")
80
+ df2 = pl.read_parquet(f"az://data10xflex/{dpdn1}.parquet", storage_options=storage_options)
81
  df = df2
82
  return
83