{"action":"created","issue":{"url":"https://api.github.com/repos/sucharit/hf-hat/issues/1","repository_url":"https://api.github.com/repos/sucharit/hf-hat","labels_url":"https://api.github.com/repos/sucharit/hf-hat/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/sucharit/hf-hat/issues/1/comments","events_url":"https://api.github.com/repos/sucharit/hf-hat/issues/1/events","html_url":"https://github.com/sucharit/hf-hat/issues/1","id":174960397,"number":1,"title":"On example.sage, S234.compute_homology() is raising an exception","user":{"login":"viorato","id":13654161,"avatar_url":"https://avatars.githubusercontent.com/u/13654161?v=3","gravatar_id":"","url":"https://api.github.com/users/viorato","html_url":"https://github.com/viorato","followers_url":"https://api.github.com/users/viorato/followers","following_url":"https://api.github.com/users/viorato/following{/other_user}","gists_url":"https://api.github.com/users/viorato/gists{/gist_id}","starred_url":"https://api.github.com/users/viorato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viorato/subscriptions","organizations_url":"https://api.github.com/users/viorato/orgs","repos_url":"https://api.github.com/users/viorato/repos","events_url":"https://api.github.com/users/viorato/events{/privacy}","received_events_url":"https://api.github.com/users/viorato/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-04T17:42:14Z","updated_at":"2016-09-09T20:07:11Z","closed_at":"2016-09-07T18:41:46Z","body":"On the example.sage file, I have noticed that you enclosed the function `compute_homology()` on a `try except` . So, I decided to print the exception message in case one is being raised, so I changed the code to:\r\n```\r\ntry:\r\n    S234.generate_complexes()\r\n    S234.compute_homology()\r\nexcept Exception as e:\r\n    print \"Error computing Homology: {0}\". format(e)\r\n    pass\r\n```\r\nAfter the execution, the following exception was raise: \"Not enough data to generate complexes\"\r\n\r\nThis is happening when I load example.sage into sage. Am I doing something wrong? Do I need to do something else? Do you have another Heegaard Diagram example where `compute_homology()` runs without errors?\r\n\r\nThanks for sharing your code.\r\n\r\nRegards,\r\nJesus\r\n"},"comment":{"url":"https://api.github.com/repos/sucharit/hf-hat/issues/comments/246024978","html_url":"https://github.com/sucharit/hf-hat/issues/1#issuecomment-246024978","issue_url":"https://api.github.com/repos/sucharit/hf-hat/issues/1","id":246024978,"user":{"login":"viorato","id":13654161,"avatar_url":"https://avatars.githubusercontent.com/u/13654161?v=3","gravatar_id":"","url":"https://api.github.com/users/viorato","html_url":"https://github.com/viorato","followers_url":"https://api.github.com/users/viorato/followers","following_url":"https://api.github.com/users/viorato/following{/other_user}","gists_url":"https://api.github.com/users/viorato/gists{/gist_id}","starred_url":"https://api.github.com/users/viorato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viorato/subscriptions","organizations_url":"https://api.github.com/users/viorato/orgs","repos_url":"https://api.github.com/users/viorato/repos","events_url":"https://api.github.com/users/viorato/events{/privacy}","received_events_url":"https://api.github.com/users/viorato/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T20:07:11Z","updated_at":"2016-09-09T20:07:11Z","body":"I got the wrong idea that the program was capable to compute the homology for any diagram. It is a nice and helpful code any way.\r\n\r\nThanks for your reply, \r\n"}}
{"actor":{"display_login":"viorato"}}