Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ with ui.navset_card_tab(id="tab"):
|
|
85 |
@render.plot()
|
86 |
def plot_distro():
|
87 |
df = pd.read_parquet("virus_ds.parquet")
|
88 |
-
df = df[df["Organism_Name"].isin(input.
|
89 |
grouped = df.groupby("Organism_Name")["Sequence"].apply(list)
|
90 |
return plot_distrobutions(grouped, grouped.index, input.basepair())
|
91 |
|
|
|
85 |
@render.plot()
|
86 |
def plot_distro():
|
87 |
df = pd.read_parquet("virus_ds.parquet")
|
88 |
+
df = df[df["Organism_Name"].isin(input.virus_selector_1())]
|
89 |
grouped = df.groupby("Organism_Name")["Sequence"].apply(list)
|
90 |
return plot_distrobutions(grouped, grouped.index, input.basepair())
|
91 |
|