{"action":"opened","issue":{"url":"https://api.github.com/repos/althonos/pronto/issues/4","repository_url":"https://api.github.com/repos/althonos/pronto","labels_url":"https://api.github.com/repos/althonos/pronto/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/althonos/pronto/issues/4/comments","events_url":"https://api.github.com/repos/althonos/pronto/issues/4/events","html_url":"https://github.com/althonos/pronto/issues/4","id":177411638,"number":4,"title":"pronto.Ontology() gives inconsistent lengths","user":{"login":"winni-genp","id":19549837,"avatar_url":"https://avatars.githubusercontent.com/u/19549837?v=3","gravatar_id":"","url":"https://api.github.com/users/winni-genp","html_url":"https://github.com/winni-genp","followers_url":"https://api.github.com/users/winni-genp/followers","following_url":"https://api.github.com/users/winni-genp/following{/other_user}","gists_url":"https://api.github.com/users/winni-genp/gists{/gist_id}","starred_url":"https://api.github.com/users/winni-genp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winni-genp/subscriptions","organizations_url":"https://api.github.com/users/winni-genp/orgs","repos_url":"https://api.github.com/users/winni-genp/repos","events_url":"https://api.github.com/users/winni-genp/events{/privacy}","received_events_url":"https://api.github.com/users/winni-genp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-16T12:17:13Z","updated_at":"2016-09-16T12:17:13Z","closed_at":null,"body":"Using the input `test.obo`:\r\n```\r\n[Term]\r\nid: ONT0:CHILD_0\r\nname: child_0\r\nis_a: ONT0:ROOT ! root\r\n\r\n[Term]\r\nid: ONT0:CHILD_1\r\nname: child_1\r\nis_a: ONT0:ROOT ! root\r\n\r\n[Term]\r\nid: ONT0:CHILD_2\r\nname: child_2\r\nis_a: ONT0:ROOT ! root\r\n\r\n[Term]\r\nid: ONT0:ROOT\r\nname: root\r\n```\r\n\r\nand running `test.py`:\r\n```\r\nimport pronto\r\n\r\nprint len(pronto.Ontology(\"./test.obo\"))\r\nprint len(pronto.Ontology(\"./test.obo\"))\r\nprint len(pronto.Ontology(\"./test.obo\"))\r\nprint len(pronto.Ontology(\"./test.obo\"))\r\n```\r\n\r\nUsing `pronto 0.3.3` I get the output:\r\n```\r\n1\r\n2\r\n4\r\n2\r\n```\r\n\r\nThe expected output as given by `pronto 0.3.2` is:\r\n```\r\n4\r\n4\r\n4\r\n4\r\n```"}}
{"actor":{"display_login":"winni-genp"}}