{"action":"created","comment":{"url":"https://api.github.com/repos/nipy/dipy/pulls/comments/29024222","id":29024222,"diff_hunk":"@@ -416,7 +417,7 @@ class QuickBundles(Clustering):\n     metric : str or `Metric` object (optional)\n         The distance metric to use when comparing two streamlines. By default,\n         the Minimum average Direct-Flip (MDF) distance [Garyfallidis12]_ is\n-        used and requires streamlines to have the same number of points.\n+        used and streamlines are automatically resampled so they have 18 points.","path":"dipy/segment/clustering.py","position":13,"original_position":13,"commit_id":"552eb4a609836385c64fab801b12ac703811d944","original_commit_id":"552eb4a609836385c64fab801b12ac703811d944","user":{"login":"arokem","id":118582,"avatar_url":"https://avatars.githubusercontent.com/u/118582?v=3","gravatar_id":"","url":"https://api.github.com/users/arokem","html_url":"https://github.com/arokem","followers_url":"https://api.github.com/users/arokem/followers","following_url":"https://api.github.com/users/arokem/following{/other_user}","gists_url":"https://api.github.com/users/arokem/gists{/gist_id}","starred_url":"https://api.github.com/users/arokem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arokem/subscriptions","organizations_url":"https://api.github.com/users/arokem/orgs","repos_url":"https://api.github.com/users/arokem/repos","events_url":"https://api.github.com/users/arokem/events{/privacy}","received_events_url":"https://api.github.com/users/arokem/received_events","type":"User","site_admin":false},"body":"I assume there's some reason 18 is used here?","created_at":"2015-04-24T05:14:36Z","updated_at":"2015-04-24T05:14:36Z","html_url":"https://github.com/nipy/dipy/pull/629#discussion_r29024222","pull_request_url":"https://api.github.com/repos/nipy/dipy/pulls/629","_links":{"self":{"href":"https://api.github.com/repos/nipy/dipy/pulls/comments/29024222"},"html":{"href":"https://github.com/nipy/dipy/pull/629#discussion_r29024222"},"pull_request":{"href":"https://api.github.com/repos/nipy/dipy/pulls/629"}}},"pull_request":{"url":"https://api.github.com/repos/nipy/dipy/pulls/629","id":33133015,"html_url":"https://github.com/nipy/dipy/pull/629","diff_url":"https://github.com/nipy/dipy/pull/629.diff","patch_url":"https://github.com/nipy/dipy/pull/629.patch","issue_url":"https://api.github.com/repos/nipy/dipy/issues/629","number":629,"state":"open","locked":false,"title":"Quickbundles 2.1","user":{"login":"MarcCote","id":660004,"avatar_url":"https://avatars.githubusercontent.com/u/660004?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcCote","html_url":"https://github.com/MarcCote","followers_url":"https://api.github.com/users/MarcCote/followers","following_url":"https://api.github.com/users/MarcCote/following{/other_user}","gists_url":"https://api.github.com/users/MarcCote/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcCote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcCote/subscriptions","organizations_url":"https://api.github.com/users/MarcCote/orgs","repos_url":"https://api.github.com/users/MarcCote/repos","events_url":"https://api.github.com/users/MarcCote/events{/privacy}","received_events_url":"https://api.github.com/users/MarcCote/received_events","type":"User","site_admin":false},"body":"This PR mainly adds new `Feature` classes (`ResampleFeature`, `MidPointFeature`, `ArcLengthFeature` and `VectorBetweenEndpointsFeature`) and a new `Metric` class (`CosineMetric`).\r\n\r\nMoreover, a new tutorial has been added explaining how to make new `Feature` and new `Metric` for Quickbundles.\r\n\r\nThis PR also fixes some bugs and adds more sanity checks.","created_at":"2015-04-13T03:03:23Z","updated_at":"2015-04-24T05:14:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"710956c0abdf9468616a3d00604aacb1b4eaaeda","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nipy/dipy/pulls/629/commits","review_comments_url":"https://api.github.com/repos/nipy/dipy/pulls/629/comments","review_comment_url":"https://api.github.com/repos/nipy/dipy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nipy/dipy/issues/629/comments","statuses_url":"https://api.github.com/repos/nipy/dipy/statuses/552eb4a609836385c64fab801b12ac703811d944","head":{"label":"MarcCote:quickbundles2.1","ref":"quickbundles2.1","sha":"552eb4a609836385c64fab801b12ac703811d944","user":{"login":"MarcCote","id":660004,"avatar_url":"https://avatars.githubusercontent.com/u/660004?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcCote","html_url":"https://github.com/MarcCote","followers_url":"https://api.github.com/users/MarcCote/followers","following_url":"https://api.github.com/users/MarcCote/following{/other_user}","gists_url":"https://api.github.com/users/MarcCote/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcCote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcCote/subscriptions","organizations_url":"https://api.github.com/users/MarcCote/orgs","repos_url":"https://api.github.com/users/MarcCote/repos","events_url":"https://api.github.com/users/MarcCote/events{/privacy}","received_events_url":"https://api.github.com/users/MarcCote/received_events","type":"User","site_admin":false},"repo":{"id":8189384,"name":"dipy","full_name":"MarcCote/dipy","owner":{"login":"MarcCote","id":660004,"avatar_url":"https://avatars.githubusercontent.com/u/660004?v=3","gravatar_id":"","url":"https://api.github.com/users/MarcCote","html_url":"https://github.com/MarcCote","followers_url":"https://api.github.com/users/MarcCote/followers","following_url":"https://api.github.com/users/MarcCote/following{/other_user}","gists_url":"https://api.github.com/users/MarcCote/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcCote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcCote/subscriptions","organizations_url":"https://api.github.com/users/MarcCote/orgs","repos_url":"https://api.github.com/users/MarcCote/repos","events_url":"https://api.github.com/users/MarcCote/events{/privacy}","received_events_url":"https://api.github.com/users/MarcCote/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MarcCote/dipy","description":"Diffusion MR Imaging in Python","fork":true,"url":"https://api.github.com/repos/MarcCote/dipy","forks_url":"https://api.github.com/repos/MarcCote/dipy/forks","keys_url":"https://api.github.com/repos/MarcCote/dipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarcCote/dipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarcCote/dipy/teams","hooks_url":"https://api.github.com/repos/MarcCote/dipy/hooks","issue_events_url":"https://api.github.com/repos/MarcCote/dipy/issues/events{/number}","events_url":"https://api.github.com/repos/MarcCote/dipy/events","assignees_url":"https://api.github.com/repos/MarcCote/dipy/assignees{/user}","branches_url":"https://api.github.com/repos/MarcCote/dipy/branches{/branch}","tags_url":"https://api.github.com/repos/MarcCote/dipy/tags","blobs_url":"https://api.github.com/repos/MarcCote/dipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarcCote/dipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarcCote/dipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarcCote/dipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarcCote/dipy/statuses/{sha}","languages_url":"https://api.github.com/repos/MarcCote/dipy/languages","stargazers_url":"https://api.github.com/repos/MarcCote/dipy/stargazers","contributors_url":"https://api.github.com/repos/MarcCote/dipy/contributors","subscribers_url":"https://api.github.com/repos/MarcCote/dipy/subscribers","subscription_url":"https://api.github.com/repos/MarcCote/dipy/subscription","commits_url":"https://api.github.com/repos/MarcCote/dipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarcCote/dipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarcCote/dipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarcCote/dipy/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarcCote/dipy/contents/{+path}","compare_url":"https://api.github.com/repos/MarcCote/dipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarcCote/dipy/merges","archive_url":"https://api.github.com/repos/MarcCote/dipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarcCote/dipy/downloads","issues_url":"https://api.github.com/repos/MarcCote/dipy/issues{/number}","pulls_url":"https://api.github.com/repos/MarcCote/dipy/pulls{/number}","milestones_url":"https://api.github.com/repos/MarcCote/dipy/milestones{/number}","notifications_url":"https://api.github.com/repos/MarcCote/dipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarcCote/dipy/labels{/name}","releases_url":"https://api.github.com/repos/MarcCote/dipy/releases{/id}","created_at":"2013-02-13T22:36:58Z","updated_at":"2015-04-09T14:11:35Z","pushed_at":"2015-04-15T01:01:55Z","git_url":"git://github.com/MarcCote/dipy.git","ssh_url":"git@github.com:MarcCote/dipy.git","clone_url":"https://github.com/MarcCote/dipy.git","svn_url":"https://github.com/MarcCote/dipy","homepage":"http://dipy.org","size":15963,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nipy:master","ref":"master","sha":"49cb6e3837360f2928e5ca5f8fcf9afaa94a4c58","user":{"login":"nipy","id":233707,"avatar_url":"https://avatars.githubusercontent.com/u/233707?v=3","gravatar_id":"","url":"https://api.github.com/users/nipy","html_url":"https://github.com/nipy","followers_url":"https://api.github.com/users/nipy/followers","following_url":"https://api.github.com/users/nipy/following{/other_user}","gists_url":"https://api.github.com/users/nipy/gists{/gist_id}","starred_url":"https://api.github.com/users/nipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipy/subscriptions","organizations_url":"https://api.github.com/users/nipy/orgs","repos_url":"https://api.github.com/users/nipy/repos","events_url":"https://api.github.com/users/nipy/events{/privacy}","received_events_url":"https://api.github.com/users/nipy/received_events","type":"Organization","site_admin":false},"repo":{"id":505209,"name":"dipy","full_name":"nipy/dipy","owner":{"login":"nipy","id":233707,"avatar_url":"https://avatars.githubusercontent.com/u/233707?v=3","gravatar_id":"","url":"https://api.github.com/users/nipy","html_url":"https://github.com/nipy","followers_url":"https://api.github.com/users/nipy/followers","following_url":"https://api.github.com/users/nipy/following{/other_user}","gists_url":"https://api.github.com/users/nipy/gists{/gist_id}","starred_url":"https://api.github.com/users/nipy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nipy/subscriptions","organizations_url":"https://api.github.com/users/nipy/orgs","repos_url":"https://api.github.com/users/nipy/repos","events_url":"https://api.github.com/users/nipy/events{/privacy}","received_events_url":"https://api.github.com/users/nipy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nipy/dipy","description":"Diffusion MR Imaging in Python","fork":false,"url":"https://api.github.com/repos/nipy/dipy","forks_url":"https://api.github.com/repos/nipy/dipy/forks","keys_url":"https://api.github.com/repos/nipy/dipy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nipy/dipy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nipy/dipy/teams","hooks_url":"https://api.github.com/repos/nipy/dipy/hooks","issue_events_url":"https://api.github.com/repos/nipy/dipy/issues/events{/number}","events_url":"https://api.github.com/repos/nipy/dipy/events","assignees_url":"https://api.github.com/repos/nipy/dipy/assignees{/user}","branches_url":"https://api.github.com/repos/nipy/dipy/branches{/branch}","tags_url":"https://api.github.com/repos/nipy/dipy/tags","blobs_url":"https://api.github.com/repos/nipy/dipy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nipy/dipy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nipy/dipy/git/refs{/sha}","trees_url":"https://api.github.com/repos/nipy/dipy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nipy/dipy/statuses/{sha}","languages_url":"https://api.github.com/repos/nipy/dipy/languages","stargazers_url":"https://api.github.com/repos/nipy/dipy/stargazers","contributors_url":"https://api.github.com/repos/nipy/dipy/contributors","subscribers_url":"https://api.github.com/repos/nipy/dipy/subscribers","subscription_url":"https://api.github.com/repos/nipy/dipy/subscription","commits_url":"https://api.github.com/repos/nipy/dipy/commits{/sha}","git_commits_url":"https://api.github.com/repos/nipy/dipy/git/commits{/sha}","comments_url":"https://api.github.com/repos/nipy/dipy/comments{/number}","issue_comment_url":"https://api.github.com/repos/nipy/dipy/issues/comments{/number}","contents_url":"https://api.github.com/repos/nipy/dipy/contents/{+path}","compare_url":"https://api.github.com/repos/nipy/dipy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nipy/dipy/merges","archive_url":"https://api.github.com/repos/nipy/dipy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nipy/dipy/downloads","issues_url":"https://api.github.com/repos/nipy/dipy/issues{/number}","pulls_url":"https://api.github.com/repos/nipy/dipy/pulls{/number}","milestones_url":"https://api.github.com/repos/nipy/dipy/milestones{/number}","notifications_url":"https://api.github.com/repos/nipy/dipy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nipy/dipy/labels{/name}","releases_url":"https://api.github.com/repos/nipy/dipy/releases{/id}","created_at":"2010-02-06T11:43:08Z","updated_at":"2015-04-23T17:46:05Z","pushed_at":"2015-04-24T00:49:27Z","git_url":"git://github.com/nipy/dipy.git","ssh_url":"git@github.com:nipy/dipy.git","clone_url":"https://github.com/nipy/dipy.git","svn_url":"https://github.com/nipy/dipy","homepage":"http://dipy.org","size":20927,"stargazers_count":60,"watchers_count":60,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":87,"mirror_url":null,"open_issues_count":70,"forks":87,"open_issues":70,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nipy/dipy/pulls/629"},"html":{"href":"https://github.com/nipy/dipy/pull/629"},"issue":{"href":"https://api.github.com/repos/nipy/dipy/issues/629"},"comments":{"href":"https://api.github.com/repos/nipy/dipy/issues/629/comments"},"review_comments":{"href":"https://api.github.com/repos/nipy/dipy/pulls/629/comments"},"review_comment":{"href":"https://api.github.com/repos/nipy/dipy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nipy/dipy/pulls/629/commits"},"statuses":{"href":"https://api.github.com/repos/nipy/dipy/statuses/552eb4a609836385c64fab801b12ac703811d944"}}}}