Giter Club home page Giter Club logo

elsa-abm's Issues

Error in prepare_navpoint_network.py

Hi,
I installed ELSA and all it's requirements as stated in the get_started.pdf. After running all tests 4 out of 5 are successful. The other gives me following error:

/usr/lib/python2.7/dist-packages/matplotlib/cbook.py:137: MatplotlibDeprecationWarning: The matplotlib.delaunay module was deprecated in version 1.4. Use matplotlib.tri.Triangulation instead.
warnings.warn(message, mplDeprecation, stacklevel=1)
I attached node 6 with degree 1 to node 17
I attached node 18 with degree 1 to node 0
..The following sectors do not have any navpoint left: [4]
The following sectors do not have any navpoint left: [4]
I add a navpoint at the centroid for them.
I add also some links with the closest points of neighboring sectors.
G.neighbors(sec) [1, 3, 6]
Adding edge between 17 and 16
Adding edge between 17 and 0
Adding edge between 17 and 7

.E

ERROR: test_check_everybody_has_one_cc (main.TestHighNetworkFunctions)

Traceback (most recent call last):
File "./test_prepare_navpoint_network.py", line 342, in test_check_everybody_has_one_cc
self.G, problem = check_everybody_has_one_cc(self.G, repair=False)
File "../abm_strategic/prepare_navpoint_network.py", line 343, in check_everybody_has_one_cc
problem_here = len(cc)>1
TypeError: object of type 'generator' has no len()


Ran 4 tests in 0.178s

FAILED (errors=1)

Any Ideas how to solve this Issue?

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.