Hack90 commited on
Commit
2c89f73
·
verified ·
1 Parent(s): 23a67e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 = process_data_sub_specie(MASTER_DF, input.virus_selector_2(), input.variance())
 
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]