JuliaDynamics / Agents.jl

Agent-based modeling framework in Julia
https://juliadynamics.github.io/Agents.jl/stable/
MIT License
710 stars 114 forks source link

Update celllistmap.jl example #1028

Closed lmiq closed 2 months ago

lmiq commented 2 months ago

This updates the CellListMap integration example to use the renamed ParticleSystem syntax, which was introduced in version 0.9.0 and will become the standard in a future 1.0 release. No functionality was changed.

codecov-commenter commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.50%. Comparing base (8b5b456) to head (1e5b494). Report is 108 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1028 +/- ## =========================================== + Coverage 70.12% 86.50% +16.38% =========================================== Files 42 39 -3 Lines 2718 2550 -168 =========================================== + Hits 1906 2206 +300 + Misses 812 344 -468 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Datseris commented 2 months ago

Thanks, but don't you also have to change the version in docs/project.toml: https://github.com/JuliaDynamics/Agents.jl/blob/main/docs/Project.toml#L36 ? since this will be the syntax in 1.0, maybe change it to 0.9, 1.0?

lmiq commented 2 months ago

Thanks, but don't you also have to change the version in docs/project.toml: https://github.com/JuliaDynamics/Agents.jl/blob/main/docs/Project.toml#L36 ? since this will be the syntax in 1.0, maybe change it to 0.9, 1.0?

Yes, thanks. I didn't know about having a Project.toml file that actually was used on deployment. Fixed.

I'll let the 1.0 for when it is available, after some testing of the new interface.