Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot upload a new dataset and use Explore button #1045

Open
ahuang11 opened this issue Feb 6, 2025 · 0 comments
Open

Cannot upload a new dataset and use Explore button #1045

ahuang11 opened this issue Feb 6, 2025 · 0 comments

Comments

@ahuang11
Copy link
Contributor

ahuang11 commented Feb 6, 2025

Something is up here:

save.mp4
tabs = Tabs(controls, dynamic=True, sizing_mode='stretch_both', design=Material)

        @param.depends(explore_button, watch=True)
        def get_explorers(load):
            if not load:
                return
            with explore_button.param.update(loading=True), self.interface.param.update(loading=True):
                explorers = []
                for table in table_select.value:
                    source = source_map[table]
                    if len(memory['sources']) > 1 and SOURCE_TABLE_SEPARATOR in table:
                        _, table = table.rsplit(SOURCE_TABLE_SEPARATOR, 1)
                    pipeline = Pipeline(
                        source=source, table=table, sql_transforms=[SQLLimit(limit=100_000)]
                    )
                    table_label = f"{table[:25]}..." if len(table) > 25 else table
                    walker = GraphicWalker(
                        pipeline.param.data, sizing_mode='stretch_both', min_height=800,
                        kernel_computation=True, name=table_label, tab='data'
                    )
                    explorers.append(walker)

                tabs.objects = explorers + [controls]
                table_select.value = []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant