Spaces:
Running
Running
Arts-of-coding
commited on
Update dash_plotly_QC_scRNA.py
Browse files- 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(
|
78 |
global df
|
79 |
-
if str(f"az://data10xflex/{
|
80 |
print("not identical filepath, chosing other")
|
81 |
-
df2 = pl.read_parquet(f"az://data10xflex/{
|
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 |
|