{"action":"created","comment":{"url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/comments/37697136","id":37697136,"diff_hunk":"@@ -454,6 +454,23 @@ def test_gray2rgb_rgb():\n     assert_equal(x, y)\n \n \n+def test_gray2rgb_alpha():\n+    x = np.random.random((5, 5, 4))\n+    assert_equal(gray2rgb(x, alpha=None).shape, (5, 5, 4))","path":"skimage/color/tests/test_colorconv.py","position":6,"original_position":6,"commit_id":"8cb409bcb099e99c8e38347253f1a91f762f0fb0","original_commit_id":"8cb409bcb099e99c8e38347253f1a91f762f0fb0","user":{"login":"stefanv","id":45071,"avatar_url":"https://avatars.githubusercontent.com/u/45071?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanv","html_url":"https://github.com/stefanv","followers_url":"https://api.github.com/users/stefanv/followers","following_url":"https://api.github.com/users/stefanv/following{/other_user}","gists_url":"https://api.github.com/users/stefanv/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanv/subscriptions","organizations_url":"https://api.github.com/users/stefanv/orgs","repos_url":"https://api.github.com/users/stefanv/repos","events_url":"https://api.github.com/users/stefanv/events{/privacy}","received_events_url":"https://api.github.com/users/stefanv/received_events","type":"User","site_admin":false},"body":"No, I believe this is how it worked before.\n","created_at":"2015-08-22T16:21:47Z","updated_at":"2015-08-22T16:21:47Z","html_url":"https://github.com/scikit-image/scikit-image/pull/1639#discussion_r37697136","pull_request_url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1639","_links":{"self":{"href":"https://api.github.com/repos/scikit-image/scikit-image/pulls/comments/37697136"},"html":{"href":"https://github.com/scikit-image/scikit-image/pull/1639#discussion_r37697136"},"pull_request":{"href":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1639"}}},"pull_request":{"url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1639","id":43086770,"html_url":"https://github.com/scikit-image/scikit-image/pull/1639","diff_url":"https://github.com/scikit-image/scikit-image/pull/1639.diff","patch_url":"https://github.com/scikit-image/scikit-image/pull/1639.patch","issue_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1639","number":1639,"state":"open","locked":false,"title":"Add alpha layer support to gray2rgb","user":{"login":"stefanv","id":45071,"avatar_url":"https://avatars.githubusercontent.com/u/45071?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanv","html_url":"https://github.com/stefanv","followers_url":"https://api.github.com/users/stefanv/followers","following_url":"https://api.github.com/users/stefanv/following{/other_user}","gists_url":"https://api.github.com/users/stefanv/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanv/subscriptions","organizations_url":"https://api.github.com/users/stefanv/orgs","repos_url":"https://api.github.com/users/stefanv/repos","events_url":"https://api.github.com/users/stefanv/events{/privacy}","received_events_url":"https://api.github.com/users/stefanv/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-21T22:18:44Z","updated_at":"2015-08-22T16:21:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"96157d443fe55fc4be6f60472f8472601f34ebe1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1639/commits","review_comments_url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1639/comments","review_comment_url":"https://api.github.com/repos/scikit-image/scikit-image/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1639/comments","statuses_url":"https://api.github.com/repos/scikit-image/scikit-image/statuses/8cb409bcb099e99c8e38347253f1a91f762f0fb0","head":{"label":"stefanv:gray2rgb_alpha","ref":"gray2rgb_alpha","sha":"8cb409bcb099e99c8e38347253f1a91f762f0fb0","user":{"login":"stefanv","id":45071,"avatar_url":"https://avatars.githubusercontent.com/u/45071?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanv","html_url":"https://github.com/stefanv","followers_url":"https://api.github.com/users/stefanv/followers","following_url":"https://api.github.com/users/stefanv/following{/other_user}","gists_url":"https://api.github.com/users/stefanv/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanv/subscriptions","organizations_url":"https://api.github.com/users/stefanv/orgs","repos_url":"https://api.github.com/users/stefanv/repos","events_url":"https://api.github.com/users/stefanv/events{/privacy}","received_events_url":"https://api.github.com/users/stefanv/received_events","type":"User","site_admin":false},"repo":{"id":2405867,"name":"scikit-image","full_name":"stefanv/scikit-image","owner":{"login":"stefanv","id":45071,"avatar_url":"https://avatars.githubusercontent.com/u/45071?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanv","html_url":"https://github.com/stefanv","followers_url":"https://api.github.com/users/stefanv/followers","following_url":"https://api.github.com/users/stefanv/following{/other_user}","gists_url":"https://api.github.com/users/stefanv/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanv/subscriptions","organizations_url":"https://api.github.com/users/stefanv/orgs","repos_url":"https://api.github.com/users/stefanv/repos","events_url":"https://api.github.com/users/stefanv/events{/privacy}","received_events_url":"https://api.github.com/users/stefanv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stefanv/scikit-image","description":"Image Processing SciKit (Toolbox for SciPy)","fork":true,"url":"https://api.github.com/repos/stefanv/scikit-image","forks_url":"https://api.github.com/repos/stefanv/scikit-image/forks","keys_url":"https://api.github.com/repos/stefanv/scikit-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stefanv/scikit-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stefanv/scikit-image/teams","hooks_url":"https://api.github.com/repos/stefanv/scikit-image/hooks","issue_events_url":"https://api.github.com/repos/stefanv/scikit-image/issues/events{/number}","events_url":"https://api.github.com/repos/stefanv/scikit-image/events","assignees_url":"https://api.github.com/repos/stefanv/scikit-image/assignees{/user}","branches_url":"https://api.github.com/repos/stefanv/scikit-image/branches{/branch}","tags_url":"https://api.github.com/repos/stefanv/scikit-image/tags","blobs_url":"https://api.github.com/repos/stefanv/scikit-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stefanv/scikit-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stefanv/scikit-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/stefanv/scikit-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stefanv/scikit-image/statuses/{sha}","languages_url":"https://api.github.com/repos/stefanv/scikit-image/languages","stargazers_url":"https://api.github.com/repos/stefanv/scikit-image/stargazers","contributors_url":"https://api.github.com/repos/stefanv/scikit-image/contributors","subscribers_url":"https://api.github.com/repos/stefanv/scikit-image/subscribers","subscription_url":"https://api.github.com/repos/stefanv/scikit-image/subscription","commits_url":"https://api.github.com/repos/stefanv/scikit-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/stefanv/scikit-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/stefanv/scikit-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/stefanv/scikit-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/stefanv/scikit-image/contents/{+path}","compare_url":"https://api.github.com/repos/stefanv/scikit-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stefanv/scikit-image/merges","archive_url":"https://api.github.com/repos/stefanv/scikit-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stefanv/scikit-image/downloads","issues_url":"https://api.github.com/repos/stefanv/scikit-image/issues{/number}","pulls_url":"https://api.github.com/repos/stefanv/scikit-image/pulls{/number}","milestones_url":"https://api.github.com/repos/stefanv/scikit-image/milestones{/number}","notifications_url":"https://api.github.com/repos/stefanv/scikit-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stefanv/scikit-image/labels{/name}","releases_url":"https://api.github.com/repos/stefanv/scikit-image/releases{/id}","created_at":"2011-09-17T17:42:44Z","updated_at":"2015-05-20T01:41:07Z","pushed_at":"2015-08-21T22:36:30Z","git_url":"git://github.com/stefanv/scikit-image.git","ssh_url":"git@github.com:stefanv/scikit-image.git","clone_url":"https://github.com/stefanv/scikit-image.git","svn_url":"https://github.com/stefanv/scikit-image","homepage":"http://scikits-image.org","size":40749,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"scikit-image:master","ref":"master","sha":"46cbff8c2ea75f4eec1794035c51cda5bbf356c2","user":{"login":"scikit-image","id":897180,"avatar_url":"https://avatars.githubusercontent.com/u/897180?v=3","gravatar_id":"","url":"https://api.github.com/users/scikit-image","html_url":"https://github.com/scikit-image","followers_url":"https://api.github.com/users/scikit-image/followers","following_url":"https://api.github.com/users/scikit-image/following{/other_user}","gists_url":"https://api.github.com/users/scikit-image/gists{/gist_id}","starred_url":"https://api.github.com/users/scikit-image/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scikit-image/subscriptions","organizations_url":"https://api.github.com/users/scikit-image/orgs","repos_url":"https://api.github.com/users/scikit-image/repos","events_url":"https://api.github.com/users/scikit-image/events{/privacy}","received_events_url":"https://api.github.com/users/scikit-image/received_events","type":"Organization","site_admin":false},"repo":{"id":2014929,"name":"scikit-image","full_name":"scikit-image/scikit-image","owner":{"login":"scikit-image","id":897180,"avatar_url":"https://avatars.githubusercontent.com/u/897180?v=3","gravatar_id":"","url":"https://api.github.com/users/scikit-image","html_url":"https://github.com/scikit-image","followers_url":"https://api.github.com/users/scikit-image/followers","following_url":"https://api.github.com/users/scikit-image/following{/other_user}","gists_url":"https://api.github.com/users/scikit-image/gists{/gist_id}","starred_url":"https://api.github.com/users/scikit-image/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scikit-image/subscriptions","organizations_url":"https://api.github.com/users/scikit-image/orgs","repos_url":"https://api.github.com/users/scikit-image/repos","events_url":"https://api.github.com/users/scikit-image/events{/privacy}","received_events_url":"https://api.github.com/users/scikit-image/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scikit-image/scikit-image","description":"Image Processing SciKit (Toolbox for SciPy)","fork":false,"url":"https://api.github.com/repos/scikit-image/scikit-image","forks_url":"https://api.github.com/repos/scikit-image/scikit-image/forks","keys_url":"https://api.github.com/repos/scikit-image/scikit-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scikit-image/scikit-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scikit-image/scikit-image/teams","hooks_url":"https://api.github.com/repos/scikit-image/scikit-image/hooks","issue_events_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/events{/number}","events_url":"https://api.github.com/repos/scikit-image/scikit-image/events","assignees_url":"https://api.github.com/repos/scikit-image/scikit-image/assignees{/user}","branches_url":"https://api.github.com/repos/scikit-image/scikit-image/branches{/branch}","tags_url":"https://api.github.com/repos/scikit-image/scikit-image/tags","blobs_url":"https://api.github.com/repos/scikit-image/scikit-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scikit-image/scikit-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scikit-image/scikit-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/scikit-image/scikit-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scikit-image/scikit-image/statuses/{sha}","languages_url":"https://api.github.com/repos/scikit-image/scikit-image/languages","stargazers_url":"https://api.github.com/repos/scikit-image/scikit-image/stargazers","contributors_url":"https://api.github.com/repos/scikit-image/scikit-image/contributors","subscribers_url":"https://api.github.com/repos/scikit-image/scikit-image/subscribers","subscription_url":"https://api.github.com/repos/scikit-image/scikit-image/subscription","commits_url":"https://api.github.com/repos/scikit-image/scikit-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/scikit-image/scikit-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/scikit-image/scikit-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/scikit-image/scikit-image/contents/{+path}","compare_url":"https://api.github.com/repos/scikit-image/scikit-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scikit-image/scikit-image/merges","archive_url":"https://api.github.com/repos/scikit-image/scikit-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scikit-image/scikit-image/downloads","issues_url":"https://api.github.com/repos/scikit-image/scikit-image/issues{/number}","pulls_url":"https://api.github.com/repos/scikit-image/scikit-image/pulls{/number}","milestones_url":"https://api.github.com/repos/scikit-image/scikit-image/milestones{/number}","notifications_url":"https://api.github.com/repos/scikit-image/scikit-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scikit-image/scikit-image/labels{/name}","releases_url":"https://api.github.com/repos/scikit-image/scikit-image/releases{/id}","created_at":"2011-07-07T22:07:20Z","updated_at":"2015-08-22T14:12:22Z","pushed_at":"2015-08-21T22:36:31Z","git_url":"git://github.com/scikit-image/scikit-image.git","ssh_url":"git@github.com:scikit-image/scikit-image.git","clone_url":"https://github.com/scikit-image/scikit-image.git","svn_url":"https://github.com/scikit-image/scikit-image","homepage":"http://scikit-image.org","size":72461,"stargazers_count":788,"watchers_count":788,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":397,"mirror_url":null,"open_issues_count":196,"forks":397,"open_issues":196,"watchers":788,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1639"},"html":{"href":"https://github.com/scikit-image/scikit-image/pull/1639"},"issue":{"href":"https://api.github.com/repos/scikit-image/scikit-image/issues/1639"},"comments":{"href":"https://api.github.com/repos/scikit-image/scikit-image/issues/1639/comments"},"review_comments":{"href":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1639/comments"},"review_comment":{"href":"https://api.github.com/repos/scikit-image/scikit-image/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scikit-image/scikit-image/pulls/1639/commits"},"statuses":{"href":"https://api.github.com/repos/scikit-image/scikit-image/statuses/8cb409bcb099e99c8e38347253f1a91f762f0fb0"}}}}