Skip to content

Commit

Permalink
Remove mesa.flat namespace
Browse files Browse the repository at this point in the history
This doesn't seem to be used as often as the current simple namespace.
  • Loading branch information
rht committed Mar 27, 2024
1 parent 51b4e9a commit 3c5dc40
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
6 changes: 0 additions & 6 deletions mesa/flat/__init__.py

This file was deleted.

5 changes: 0 additions & 5 deletions mesa/flat/visualization.py

This file was deleted.

5 changes: 0 additions & 5 deletions tests/test_import_namespace.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,25 @@ def test_import():
# This tests the new, simpler Mesa namespace. See
# https://github.com/projectmesa/mesa/pull/1294.
import mesa
import mesa.flat as mf
from mesa.time import RandomActivation

_ = mesa.time.RandomActivation
_ = RandomActivation
_ = mf.RandomActivation

from mesa.space import MultiGrid

_ = mesa.space.MultiGrid
_ = MultiGrid
_ = mf.MultiGrid

from mesa.visualization.ModularVisualization import ModularServer

_ = mesa.visualization.ModularServer
_ = ModularServer
_ = mf.ModularServer

from mesa.datacollection import DataCollector

_ = DataCollector
_ = mesa.DataCollector
_ = mf.DataCollector

from mesa.batchrunner import batch_run

Expand Down

0 comments on commit 3c5dc40

Please sign in to comment.