GithubHelp home page GithubHelp logo

Comments (2)

Corvince avatar Corvince commented on May 23, 2024

Great find and bug descripton @bpmweel !

I guess thats why tests exist ;) May I reuse your code to base a test on it?

I would also love to hear more about your experience with mesa-geo so far, especially what was/is not so nice and should be improved. I honestly didn't expect anyone to use mesa-geo already and this is very motivating to keep me working on it.

from mesa-geo.

bpmweel avatar bpmweel commented on May 23, 2024

Of course! Please go ahead and use the code to make a test.

So far using mesa-geo has been relatively good, this is my first time using mesa and mesa-geo so the most of the struggle is in learning a new framework I guess. You can check my fork over at https://github.com/DynaSlum/mesa-geo for some small changes I made:

  1. The version is currently only a string, which pip or conda gives an error for. I suggest using something like 0.1.0-alpha or something to get some semantic version going.
  2. In add_agent you use issubclass which has been deprecated in favor of isinstance
  3. Updated some dependency versions

Another suggestion I would make is to have create_agents_from_GeoJSON return the list of created agents. When creating agents in this way you most likely want to add them to the Mesa scheduler, but now I have to manually fish out the new agents from the grid.

from mesa-geo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.