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

exampleG example doesn't work #1

Open
Manslow opened this issue Nov 8, 2016 · 0 comments
Open

exampleG example doesn't work #1

Manslow opened this issue Nov 8, 2016 · 0 comments

Comments

@Manslow
Copy link

Manslow commented Nov 8, 2016

I tried to run this using your 'exampleG.txt' data and I got the following exception:

Traceback (most recent call last):
File "/Users/essence/PycharmProjects/CommentScraper/CommentScraper/analysis/gSpan_test.py", line 30, in
gSpan.g_span([], graphs, min_sup=2, extensions=extensions)
File "/Users/essence/PycharmProjects/CommentScraper/CommentScraper/analysis/gSpan.py", line 678, in g_span
g_span(C_prime, D, min_sup, extensions)
File "/Users/essence/PycharmProjects/CommentScraper/CommentScraper/analysis/gSpan.py", line 678, in g_span
g_span(C_prime, D, min_sup, extensions)
File "/Users/essence/PycharmProjects/CommentScraper/CommentScraper/analysis/gSpan.py", line 678, in g_span
g_span(C_prime, D, min_sup, extensions)
File "/Users/essence/PycharmProjects/CommentScraper/CommentScraper/analysis/gSpan.py", line 668, in g_span
E = RMPE(C, D)
File "/Users/essence/PycharmProjects/CommentScraper/CommentScraper/analysis/gSpan.py", line 588, in RMPE
raise Exception('Couldn't find edge')
Exception: Couldn't find edge

I also tried to run it on my own data first and got:

AttributeError: 'Vertex' object has no attribute 'parent'

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