Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comparison of two graphs gives not implemented for directed type graph exception #17

Open
shubham-scisar opened this issue Jan 12, 2022 · 0 comments

Comments

@shubham-scisar
Copy link

I am calculating apls metric for comparison of two geojson's and getting this error :

Traceback (most recent call last):
  File "apls.py", line 3690, in <module>
    main()
  File "apls.py", line 3661, in main
    super_verbose=super_verbose)
  File "apls.py", line 2552, in gather_files
    verbose=verbose)
  File "apls.py", line 998, in _create_gt_graph
    super_verbose=super_verbose)
  File "apls.py", line 1227, in _refine_gt_graph
    verbose=verbose, super_verbose=super_verbose)
  File "apls.py", line 909, in _clean_sub_graphs
    sub_graphs = list(nx.connected_component_subgraphs(G_))
  File "C:\Users\xyz\Anaconda3\envs\apls_new\lib\site-packages\decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
  File "C:\Users\xyz\Anaconda3\envs\apls_new\lib\site-packages\networkx\utils\decorators.py", line 80, in _not_implemented_for
    raise nx.NetworkXNotImplemented(msg)
networkx.exception.NetworkXNotImplemented: not implemented for directed type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant