{"action":"created","issue":{"url":"https://api.github.com/repos/igraph/igraph/issues/830","labels_url":"https://api.github.com/repos/igraph/igraph/issues/830/labels{/name}","comments_url":"https://api.github.com/repos/igraph/igraph/issues/830/comments","events_url":"https://api.github.com/repos/igraph/igraph/issues/830/events","html_url":"https://github.com/igraph/igraph/issues/830","id":87781360,"number":830,"title":"Error: GraphBase does not have attribute 'community_leading_eigenvector_naive'","user":{"login":"Pelonza","id":12863059,"avatar_url":"https://avatars.githubusercontent.com/u/12863059?v=3","gravatar_id":"","url":"https://api.github.com/users/Pelonza","html_url":"https://github.com/Pelonza","followers_url":"https://api.github.com/users/Pelonza/followers","following_url":"https://api.github.com/users/Pelonza/following{/other_user}","gists_url":"https://api.github.com/users/Pelonza/gists{/gist_id}","starred_url":"https://api.github.com/users/Pelonza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pelonza/subscriptions","organizations_url":"https://api.github.com/users/Pelonza/orgs","repos_url":"https://api.github.com/users/Pelonza/repos","events_url":"https://api.github.com/users/Pelonza/events{/privacy}","received_events_url":"https://api.github.com/users/Pelonza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-12T16:30:20Z","updated_at":"2015-06-14T08:24:32Z","closed_at":null,"body":"In the igraph documentation, there is listed the method \"community_leading_eigenvector_naive\" ... as a graph attribute, which can be called. \r\n\r\nWhile the attribute is present on a graph instance, if you look at the GraphBase object, it does NOT occur.\r\n\r\nI ran into this error in SageMathCloud, so it _might_ be localized to their instance of igraph.\r\nThe reported version (via print igraph.__version__) is 0.7.1\r\n\r\nI checked the \"attributes\" via a call to dir() on both igraph.Graph and igraph.GraphBase\r\n\r\nIf in-fact, the naive version is implemented, then the GraphBase attributes need to be properly updated. If, on the other hand, it's not implemented, the documentation should reflect this."},"comment":{"url":"https://api.github.com/repos/igraph/igraph/issues/comments/111799274","html_url":"https://github.com/igraph/igraph/issues/830#issuecomment-111799274","issue_url":"https://api.github.com/repos/igraph/igraph/issues/830","id":111799274,"user":{"login":"Pelonza","id":12863059,"avatar_url":"https://avatars.githubusercontent.com/u/12863059?v=3","gravatar_id":"","url":"https://api.github.com/users/Pelonza","html_url":"https://github.com/Pelonza","followers_url":"https://api.github.com/users/Pelonza/followers","following_url":"https://api.github.com/users/Pelonza/following{/other_user}","gists_url":"https://api.github.com/users/Pelonza/gists{/gist_id}","starred_url":"https://api.github.com/users/Pelonza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pelonza/subscriptions","organizations_url":"https://api.github.com/users/Pelonza/orgs","repos_url":"https://api.github.com/users/Pelonza/repos","events_url":"https://api.github.com/users/Pelonza/events{/privacy}","received_events_url":"https://api.github.com/users/Pelonza/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T08:24:32Z","updated_at":"2015-06-14T08:24:32Z","body":"I ran into the issue when trying to verify that the primary leading eigenvalue method was working correctly. One of Newman's paper's had reported different leading eigenvalue modularities for matrices I was looking at, but it turned out to be a different between implementing his original algorithm (correctly cited) and his improved algorithm, which appeared in a different paper.\r\n\r\nAt this point, it doesn't matter much to me if the glue code is implemented attached or not, but I do feel like the documentation should match the implementation(s)... so either a clear note that says it is not fully functional in python (probably fastest/easiest) or add the clue code. \r\n\r\n"}}