diff --git a/tsbrowse/app.py b/tsbrowse/app.py index 85d6d8b..d708fdd 100644 --- a/tsbrowse/app.py +++ b/tsbrowse/app.py @@ -71,8 +71,8 @@ def get_sidebar(selected_page): if len(self.tsm.name) > 75 else self.tsm.name, header=[header_selector], - sidebar=get_sidebar, - main=get_content, + sidebar=pn.Column(get_sidebar), + main=pn.Column(get_content), raw_css=[RAW_CSS], **DEFAULT_PARAMS, ) diff --git a/tsbrowse/pages/tables.py b/tsbrowse/pages/tables.py index 9a641ba..a1825dc 100644 --- a/tsbrowse/pages/tables.py +++ b/tsbrowse/pages/tables.py @@ -62,6 +62,7 @@ def __init__(self, tsm): self.table_selector = pn.widgets.Select( name="Select Table", options=[ + "", "edges", "trees", "mutations", @@ -84,14 +85,12 @@ def __init__(self, tsm): self.content = pn.Column( pn.bind(self.get_filtered_table, self.table_selector, self.filter_input), - sizing_mode="stretch_both", ) self.sidebar = pn.Column( pn.pane.Markdown("# Tables"), self.table_selector, self.filter_input, self.filter_status, - sizing_mode="stretch_height", ) def get_filtered_table(self, table_name, filter_expr):