Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -173,7 +173,8 @@ with ui.navset_card_tab(id="tab"):
|
|
| 173 |
import seaborn as sns
|
| 174 |
plot_type = input.plot_type_distro_sub()
|
| 175 |
if plot_type == "2D sub-specie - nominal":
|
| 176 |
-
df =
|
|
|
|
| 177 |
df = df.explode('two_d').copy()
|
| 178 |
df['x'] = np.array((df['two_d'].tolist()))[:,0]
|
| 179 |
df['y'] = np.array((df['two_d'].tolist()))[:,1]
|
|
|
|
| 173 |
import seaborn as sns
|
| 174 |
plot_type = input.plot_type_distro_sub()
|
| 175 |
if plot_type == "2D sub-specie - nominal":
|
| 176 |
+
df = pd.read_parquet('virus_ds.parquet')
|
| 177 |
+
df = process_data_sub_specie(df, input.virus_selector_2(), input.variance())
|
| 178 |
df = df.explode('two_d').copy()
|
| 179 |
df['x'] = np.array((df['two_d'].tolist()))[:,0]
|
| 180 |
df['y'] = np.array((df['two_d'].tolist()))[:,1]
|