Skip to content

Commit

Permalink
Merge pull request #84 from ABSESpy/dev
Browse files Browse the repository at this point in the history
version 0.6.6: Improved visualization and generation of actors
  • Loading branch information
SongshGeo authored May 19, 2024
2 parents 71960c2 + e3f34b6 commit 67bf87b
Show file tree
Hide file tree
Showing 35 changed files with 2,144 additions and 841 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@

<a id='changelog-0.6.6'></a>
# 0.6.6 — 2024-05-19

## Fixed bugs

- [x] #bug🐛 Fixed `Actor`'s indices transforming bug.
- [x] #bug🐛 Fixed `flipud` raster when loading data with different `y` coords.

## Refactoring

- [x] #refactor♻️ Improved the coding structure of `AgentsContainer`
- [x] #refactor♻️ Improved the generator of `unique_id` for new Actors
- [x] #refactor♻️ Improved coding structure of visualizations.

## Documentation changes

- [x] #docs📄 A new tutorial for creating actors by importing network
- [x] #docs📄 Improved the tutorials of `geodata.ipynb` and `model_viz.ipynb`

## New Features

- [x] #feat✨ `PatchCell` also has the accessibility of `TimeDriver` now.
- [x] #feat✨ Actors can be created by passing a sequence of `unique_id` now.
- [x] #feat✨ Normal `Actor` now has a geometry of point according to the pos
- [x] #feat✨ A new property of `geo_type` for `Actor` and `Cell`.
- [x] #feat✨ New `.summary` method to check attributes of `Actor` and `ActorsList`
- [x] #feat✨ Plotting `network` and `shapefile`

<a id='changelog-0.6.5'></a>
# 0.6.5 — 2024-05-17

Expand Down
6 changes: 3 additions & 3 deletions abses/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
"load_data",
"logger",
]
__version__ = "v0.6.5"
__version__ = "v0.6.6"

from ._bases.logging import logger
from .actor import Actor, alive_required, perception
from .container import ActorsList
from .data import load_data
from .decision import Decision
from .experiment import Experiment
from .human import BaseHuman
from .main import MainModel
from .nature import BaseNature, PatchCell, PatchModule
from .sequences import ActorsList
from .time import time_condition
from .tools.data import load_data
Loading

0 comments on commit 67bf87b

Please sign in to comment.