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

Test SolaraViz in CI #215

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Test SolaraViz in CI #215

wants to merge 1 commit into from

Conversation

EwoutH
Copy link
Member

@EwoutH EwoutH commented Oct 3, 2024

Initial attempt at testing the visualisation in CI.

@rht I can't get the imports working properly. I tried a lot of things, but somehow it always end up with one or more import errors. I know you're good at this, could you take a look?

@EwoutH
Copy link
Member Author

EwoutH commented Oct 3, 2024

Sorry pushed the wrong version, this is my attempt that got closest. It currently fails on imports in the models:

    import networkx as nx
    import solara
>   from aco_tsp.model import AcoTspModel, TSPGraph
E   ModuleNotFoundError: No module named 'aco_tsp'
    from mesa.visualization import SolaraViz, make_plot_measure
>   from model import GameOfLifeModel
E   ModuleNotFoundError: No module named 'model'

examples\conways_game_of_life_fast\app.py:2: ModuleNotFoundError

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

Successfully merging this pull request may close these issues.

1 participant