Skip to content

Commit

Permalink
make examples portable, skip basic for importable examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Corvince committed Oct 18, 2024
1 parent 15b384d commit 5ae37f1
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
13 changes: 13 additions & 0 deletions mesa/examples/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from mesa.examples.basic.boid_flockers.model import BoidFlockers
from mesa.examples.basic.boltzmann_wealth_model.model import BoltzmannWealthModel
from mesa.examples.basic.conways_game_of_life.model import ConwaysGameOfLife
from mesa.examples.basic.schelling.model import Schelling
from mesa.examples.basic.virus_on_network.model import VirusOnNetwork

__all__ = [
"BoidFlockers",
"BoltzmannWealthModel",
"ConwaysGameOfLife",
"Schelling",
"VirusOnNetwork",
]
13 changes: 0 additions & 13 deletions mesa/examples/basic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,13 +0,0 @@
from .boid_flockers.model import BoidFlockers
from .boltzmann_wealth_model.model import BoltzmannWealthModel
from .conways_game_of_life.model import ConwaysGameOfLife
from .schelling.model import Schelling
from .virus_on_network.model import VirusOnNetwork

__all__ = [
"BoidFlockers",
"BoltzmannWealthModel",
"ConwaysGameOfLife",
"Schelling",
"VirusOnNetwork",
]
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.

0 comments on commit 5ae37f1

Please sign in to comment.