{"action":"created","comment":{"url":"https://api.github.com/repos/BlueBrain/NeuroM/pulls/comments/45719203","id":45719203,"diff_hunk":"@@ -146,6 +146,40 @@ def find_parent_id(point_id):\n                           find_parent_id(i))\n                          for i, p in enumerate(points)])\n \n+    @staticmethod\n+    def remove_duplicate_points(points, groups):\n+        ''' Removes the duplicate points\n+            from the beginning of a section,\n+            if they are present in points-groups representation.\n+            Returns points, groups with unique points.","path":"neurom/io/hdf5.py","position":79,"original_position":36,"commit_id":"845bf09344861f4f78100b126db66a19b95d9cbd","original_commit_id":"6e0de58e951e90f557cbd2fc91a3dad088ba4144","user":{"login":"lidakanari","id":14071443,"avatar_url":"https://avatars.githubusercontent.com/u/14071443?v=3","gravatar_id":"","url":"https://api.github.com/users/lidakanari","html_url":"https://github.com/lidakanari","followers_url":"https://api.github.com/users/lidakanari/followers","following_url":"https://api.github.com/users/lidakanari/following{/other_user}","gists_url":"https://api.github.com/users/lidakanari/gists{/gist_id}","starred_url":"https://api.github.com/users/lidakanari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lidakanari/subscriptions","organizations_url":"https://api.github.com/users/lidakanari/orgs","repos_url":"https://api.github.com/users/lidakanari/repos","events_url":"https://api.github.com/users/lidakanari/events{/privacy}","received_events_url":"https://api.github.com/users/lidakanari/received_events","type":"User","site_admin":false},"body":"Ok, will fix this. ","created_at":"2015-11-24T10:39:20Z","updated_at":"2015-11-24T10:39:20Z","html_url":"https://github.com/BlueBrain/NeuroM/pull/160#discussion_r45719203","pull_request_url":"https://api.github.com/repos/BlueBrain/NeuroM/pulls/160","_links":{"self":{"href":"https://api.github.com/repos/BlueBrain/NeuroM/pulls/comments/45719203"},"html":{"href":"https://github.com/BlueBrain/NeuroM/pull/160#discussion_r45719203"},"pull_request":{"href":"https://api.github.com/repos/BlueBrain/NeuroM/pulls/160"}}},"pull_request":{"url":"https://api.github.com/repos/BlueBrain/NeuroM/pulls/160","id":51360204,"html_url":"https://github.com/BlueBrain/NeuroM/pull/160","diff_url":"https://github.com/BlueBrain/NeuroM/pull/160.diff","patch_url":"https://github.com/BlueBrain/NeuroM/pull/160.patch","issue_url":"https://api.github.com/repos/BlueBrain/NeuroM/issues/160","number":160,"state":"open","locked":false,"title":"Remove duplicate points from h5 format morphologies and corresponding tests","user":{"login":"lidakanari","id":14071443,"avatar_url":"https://avatars.githubusercontent.com/u/14071443?v=3","gravatar_id":"","url":"https://api.github.com/users/lidakanari","html_url":"https://github.com/lidakanari","followers_url":"https://api.github.com/users/lidakanari/followers","following_url":"https://api.github.com/users/lidakanari/following{/other_user}","gists_url":"https://api.github.com/users/lidakanari/gists{/gist_id}","starred_url":"https://api.github.com/users/lidakanari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lidakanari/subscriptions","organizations_url":"https://api.github.com/users/lidakanari/orgs","repos_url":"https://api.github.com/users/lidakanari/repos","events_url":"https://api.github.com/users/lidakanari/events{/privacy}","received_events_url":"https://api.github.com/users/lidakanari/received_events","type":"User","site_admin":false},"body":"The tests are not yet complete due to the inconsistency between swc and h5 files. They will be extended in a future commit. ","created_at":"2015-11-20T14:09:33Z","updated_at":"2015-11-24T10:39:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"632c23aabe38d8d8d365f60f02dbdd24cca802ec","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BlueBrain/NeuroM/pulls/160/commits","review_comments_url":"https://api.github.com/repos/BlueBrain/NeuroM/pulls/160/comments","review_comment_url":"https://api.github.com/repos/BlueBrain/NeuroM/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BlueBrain/NeuroM/issues/160/comments","statuses_url":"https://api.github.com/repos/BlueBrain/NeuroM/statuses/845bf09344861f4f78100b126db66a19b95d9cbd","head":{"label":"lidakanari:master","ref":"master","sha":"845bf09344861f4f78100b126db66a19b95d9cbd","user":{"login":"lidakanari","id":14071443,"avatar_url":"https://avatars.githubusercontent.com/u/14071443?v=3","gravatar_id":"","url":"https://api.github.com/users/lidakanari","html_url":"https://github.com/lidakanari","followers_url":"https://api.github.com/users/lidakanari/followers","following_url":"https://api.github.com/users/lidakanari/following{/other_user}","gists_url":"https://api.github.com/users/lidakanari/gists{/gist_id}","starred_url":"https://api.github.com/users/lidakanari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lidakanari/subscriptions","organizations_url":"https://api.github.com/users/lidakanari/orgs","repos_url":"https://api.github.com/users/lidakanari/repos","events_url":"https://api.github.com/users/lidakanari/events{/privacy}","received_events_url":"https://api.github.com/users/lidakanari/received_events","type":"User","site_admin":false},"repo":{"id":43776839,"name":"NeuroM","full_name":"lidakanari/NeuroM","owner":{"login":"lidakanari","id":14071443,"avatar_url":"https://avatars.githubusercontent.com/u/14071443?v=3","gravatar_id":"","url":"https://api.github.com/users/lidakanari","html_url":"https://github.com/lidakanari","followers_url":"https://api.github.com/users/lidakanari/followers","following_url":"https://api.github.com/users/lidakanari/following{/other_user}","gists_url":"https://api.github.com/users/lidakanari/gists{/gist_id}","starred_url":"https://api.github.com/users/lidakanari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lidakanari/subscriptions","organizations_url":"https://api.github.com/users/lidakanari/orgs","repos_url":"https://api.github.com/users/lidakanari/repos","events_url":"https://api.github.com/users/lidakanari/events{/privacy}","received_events_url":"https://api.github.com/users/lidakanari/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lidakanari/NeuroM","description":"Neuronal Morphology Viewing and Analysis Tool","fork":true,"url":"https://api.github.com/repos/lidakanari/NeuroM","forks_url":"https://api.github.com/repos/lidakanari/NeuroM/forks","keys_url":"https://api.github.com/repos/lidakanari/NeuroM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lidakanari/NeuroM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lidakanari/NeuroM/teams","hooks_url":"https://api.github.com/repos/lidakanari/NeuroM/hooks","issue_events_url":"https://api.github.com/repos/lidakanari/NeuroM/issues/events{/number}","events_url":"https://api.github.com/repos/lidakanari/NeuroM/events","assignees_url":"https://api.github.com/repos/lidakanari/NeuroM/assignees{/user}","branches_url":"https://api.github.com/repos/lidakanari/NeuroM/branches{/branch}","tags_url":"https://api.github.com/repos/lidakanari/NeuroM/tags","blobs_url":"https://api.github.com/repos/lidakanari/NeuroM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lidakanari/NeuroM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lidakanari/NeuroM/git/refs{/sha}","trees_url":"https://api.github.com/repos/lidakanari/NeuroM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lidakanari/NeuroM/statuses/{sha}","languages_url":"https://api.github.com/repos/lidakanari/NeuroM/languages","stargazers_url":"https://api.github.com/repos/lidakanari/NeuroM/stargazers","contributors_url":"https://api.github.com/repos/lidakanari/NeuroM/contributors","subscribers_url":"https://api.github.com/repos/lidakanari/NeuroM/subscribers","subscription_url":"https://api.github.com/repos/lidakanari/NeuroM/subscription","commits_url":"https://api.github.com/repos/lidakanari/NeuroM/commits{/sha}","git_commits_url":"https://api.github.com/repos/lidakanari/NeuroM/git/commits{/sha}","comments_url":"https://api.github.com/repos/lidakanari/NeuroM/comments{/number}","issue_comment_url":"https://api.github.com/repos/lidakanari/NeuroM/issues/comments{/number}","contents_url":"https://api.github.com/repos/lidakanari/NeuroM/contents/{+path}","compare_url":"https://api.github.com/repos/lidakanari/NeuroM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lidakanari/NeuroM/merges","archive_url":"https://api.github.com/repos/lidakanari/NeuroM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lidakanari/NeuroM/downloads","issues_url":"https://api.github.com/repos/lidakanari/NeuroM/issues{/number}","pulls_url":"https://api.github.com/repos/lidakanari/NeuroM/pulls{/number}","milestones_url":"https://api.github.com/repos/lidakanari/NeuroM/milestones{/number}","notifications_url":"https://api.github.com/repos/lidakanari/NeuroM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lidakanari/NeuroM/labels{/name}","releases_url":"https://api.github.com/repos/lidakanari/NeuroM/releases{/id}","created_at":"2015-10-06T20:32:37Z","updated_at":"2015-10-06T20:32:38Z","pushed_at":"2015-11-24T10:35:41Z","git_url":"git://github.com/lidakanari/NeuroM.git","ssh_url":"git@github.com:lidakanari/NeuroM.git","clone_url":"https://github.com/lidakanari/NeuroM.git","svn_url":"https://github.com/lidakanari/NeuroM","homepage":null,"size":2370,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"BlueBrain:master","ref":"master","sha":"4ca8cc06ed8fb91952c683f90232a634b1cb57b0","user":{"login":"BlueBrain","id":1479142,"avatar_url":"https://avatars.githubusercontent.com/u/1479142?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueBrain","html_url":"https://github.com/BlueBrain","followers_url":"https://api.github.com/users/BlueBrain/followers","following_url":"https://api.github.com/users/BlueBrain/following{/other_user}","gists_url":"https://api.github.com/users/BlueBrain/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueBrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueBrain/subscriptions","organizations_url":"https://api.github.com/users/BlueBrain/orgs","repos_url":"https://api.github.com/users/BlueBrain/repos","events_url":"https://api.github.com/users/BlueBrain/events{/privacy}","received_events_url":"https://api.github.com/users/BlueBrain/received_events","type":"Organization","site_admin":false},"repo":{"id":34906350,"name":"NeuroM","full_name":"BlueBrain/NeuroM","owner":{"login":"BlueBrain","id":1479142,"avatar_url":"https://avatars.githubusercontent.com/u/1479142?v=3","gravatar_id":"","url":"https://api.github.com/users/BlueBrain","html_url":"https://github.com/BlueBrain","followers_url":"https://api.github.com/users/BlueBrain/followers","following_url":"https://api.github.com/users/BlueBrain/following{/other_user}","gists_url":"https://api.github.com/users/BlueBrain/gists{/gist_id}","starred_url":"https://api.github.com/users/BlueBrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BlueBrain/subscriptions","organizations_url":"https://api.github.com/users/BlueBrain/orgs","repos_url":"https://api.github.com/users/BlueBrain/repos","events_url":"https://api.github.com/users/BlueBrain/events{/privacy}","received_events_url":"https://api.github.com/users/BlueBrain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BlueBrain/NeuroM","description":"Neuronal Morphology Viewing and Analysis Tool","fork":false,"url":"https://api.github.com/repos/BlueBrain/NeuroM","forks_url":"https://api.github.com/repos/BlueBrain/NeuroM/forks","keys_url":"https://api.github.com/repos/BlueBrain/NeuroM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BlueBrain/NeuroM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BlueBrain/NeuroM/teams","hooks_url":"https://api.github.com/repos/BlueBrain/NeuroM/hooks","issue_events_url":"https://api.github.com/repos/BlueBrain/NeuroM/issues/events{/number}","events_url":"https://api.github.com/repos/BlueBrain/NeuroM/events","assignees_url":"https://api.github.com/repos/BlueBrain/NeuroM/assignees{/user}","branches_url":"https://api.github.com/repos/BlueBrain/NeuroM/branches{/branch}","tags_url":"https://api.github.com/repos/BlueBrain/NeuroM/tags","blobs_url":"https://api.github.com/repos/BlueBrain/NeuroM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BlueBrain/NeuroM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BlueBrain/NeuroM/git/refs{/sha}","trees_url":"https://api.github.com/repos/BlueBrain/NeuroM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BlueBrain/NeuroM/statuses/{sha}","languages_url":"https://api.github.com/repos/BlueBrain/NeuroM/languages","stargazers_url":"https://api.github.com/repos/BlueBrain/NeuroM/stargazers","contributors_url":"https://api.github.com/repos/BlueBrain/NeuroM/contributors","subscribers_url":"https://api.github.com/repos/BlueBrain/NeuroM/subscribers","subscription_url":"https://api.github.com/repos/BlueBrain/NeuroM/subscription","commits_url":"https://api.github.com/repos/BlueBrain/NeuroM/commits{/sha}","git_commits_url":"https://api.github.com/repos/BlueBrain/NeuroM/git/commits{/sha}","comments_url":"https://api.github.com/repos/BlueBrain/NeuroM/comments{/number}","issue_comment_url":"https://api.github.com/repos/BlueBrain/NeuroM/issues/comments{/number}","contents_url":"https://api.github.com/repos/BlueBrain/NeuroM/contents/{+path}","compare_url":"https://api.github.com/repos/BlueBrain/NeuroM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BlueBrain/NeuroM/merges","archive_url":"https://api.github.com/repos/BlueBrain/NeuroM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BlueBrain/NeuroM/downloads","issues_url":"https://api.github.com/repos/BlueBrain/NeuroM/issues{/number}","pulls_url":"https://api.github.com/repos/BlueBrain/NeuroM/pulls{/number}","milestones_url":"https://api.github.com/repos/BlueBrain/NeuroM/milestones{/number}","notifications_url":"https://api.github.com/repos/BlueBrain/NeuroM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BlueBrain/NeuroM/labels{/name}","releases_url":"https://api.github.com/repos/BlueBrain/NeuroM/releases{/id}","created_at":"2015-05-01T14:21:43Z","updated_at":"2015-10-09T22:02:31Z","pushed_at":"2015-11-24T10:35:41Z","git_url":"git://github.com/BlueBrain/NeuroM.git","ssh_url":"git@github.com:BlueBrain/NeuroM.git","clone_url":"https://github.com/BlueBrain/NeuroM.git","svn_url":"https://github.com/BlueBrain/NeuroM","homepage":null,"size":2393,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":7,"forks":7,"open_issues":7,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BlueBrain/NeuroM/pulls/160"},"html":{"href":"https://github.com/BlueBrain/NeuroM/pull/160"},"issue":{"href":"https://api.github.com/repos/BlueBrain/NeuroM/issues/160"},"comments":{"href":"https://api.github.com/repos/BlueBrain/NeuroM/issues/160/comments"},"review_comments":{"href":"https://api.github.com/repos/BlueBrain/NeuroM/pulls/160/comments"},"review_comment":{"href":"https://api.github.com/repos/BlueBrain/NeuroM/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BlueBrain/NeuroM/pulls/160/commits"},"statuses":{"href":"https://api.github.com/repos/BlueBrain/NeuroM/statuses/845bf09344861f4f78100b126db66a19b95d9cbd"}}}}