Spaces:
Sleeping
Sleeping
Update dash_plotly_QC_scRNA.py
Browse files- dash_plotly_QC_scRNA.py +1 -1
dash_plotly_QC_scRNA.py
CHANGED
@@ -50,7 +50,6 @@ storage_options={'account_name': AZURE_STORAGE_ACCOUNT, 'account_key': AZURE_STO
|
|
50 |
# Load in multiple dataframes
|
51 |
df = None
|
52 |
df1 = pl.read_parquet(filepath, storage_options=storage_options)
|
53 |
-
df2 = pl.read_parquet(f"az://data10xflex/{dataset_chosen}.parquet", storage_options=storage_options)
|
54 |
|
55 |
# Setup the app
|
56 |
external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
|
@@ -80,6 +79,7 @@ def update_filepath(dataset_chosen):
|
|
80 |
if f"az://data10xflex/{dataset_chosen}.parquet" == filepath:
|
81 |
df = df1
|
82 |
if f"az://data10xflex/{dataset_chosen}.parquet" != filepath:
|
|
|
83 |
df = df2
|
84 |
return
|
85 |
|
|
|
50 |
# Load in multiple dataframes
|
51 |
df = None
|
52 |
df1 = pl.read_parquet(filepath, storage_options=storage_options)
|
|
|
53 |
|
54 |
# Setup the app
|
55 |
external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
|
|
|
79 |
if f"az://data10xflex/{dataset_chosen}.parquet" == filepath:
|
80 |
df = df1
|
81 |
if f"az://data10xflex/{dataset_chosen}.parquet" != filepath:
|
82 |
+
df2 = pl.read_parquet(f"az://data10xflex/{dataset_chosen}.parquet", storage_options=storage_options)
|
83 |
df = df2
|
84 |
return
|
85 |
|