GitHub PullRequestReviewCommentEvent at 2014-12-08 00:47:58
Repository: husc
Actor: jni
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/jni/husc/pulls/comments/21430909","id":21430909,"diff_hunk":"@@ -0,0 +1,113 @@\n+\"\"\"Feature computations and other functions for Cellomics screens.\n+\"\"\"\n+\n+import os\n+import collections as coll\n+\n+import numpy as np\n+\n+def get_img_loc(code):","path":"husc/screens/cellomics.py","position":9,"original_position":9,"commit_id":"4701fe9c106b50b9196404399810c1868df129cd","original_commit_id":"4701fe9c106b50b9196404399810c1868df129cd","user":{"login":"jni","id":492549,"avatar_url":"https://avatars.githubusercontent.com/u/492549?v=3","gravatar_id":"","url":"https://api.github.com/users/jni","html_url":"https://github.com/jni","followers_url":"https://api.github.com/users/jni/followers","following_url":"https://api.github.com/users/jni/following{/other_user}","gists_url":"https://api.github.com/users/jni/gists{/gist_id}","starred_url":"https://api.github.com/users/jni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jni/subscriptions","organizations_url":"https://api.github.com/users/jni/orgs","repos_url":"https://api.github.com/users/jni/repos","events_url":"https://api.github.com/users/jni/events{/privacy}","received_events_url":"https://api.github.com/users/jni/received_events","type":"User","site_admin":false},"body":"I don't think this needs to be a separate function. You can do it inline in semantic_filename. It *might* help readability if you parse it with a regexp, but then again it might not. =P","created_at":"2014-12-08T00:47:58Z","updated_at":"2014-12-08T00:47:58Z","html_url":"https://github.com/jni/husc/pull/18#discussion_r21430909","pull_request_url":"https://api.github.com/repos/jni/husc/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/jni/husc/pulls/comments/21430909"},"html":{"href":"https://github.com/jni/husc/pull/18#discussion_r21430909"},"pull_request":{"href":"https://api.github.com/repos/jni/husc/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/jni/husc/pulls/18","id":25640504,"html_url":"https://github.com/jni/husc/pull/18","diff_url":"https://github.com/jni/husc/pull/18.diff","patch_url":"https://github.com/jni/husc/pull/18.patch","issue_url":"https://api.github.com/repos/jni/husc/issues/18","number":18,"state":"open","locked":false,"title":"Add Cellomics specific functions -- WIP","user":{"login":"starcalibre","id":7637964,"avatar_url":"https://avatars.githubusercontent.com/u/7637964?v=3","gravatar_id":"","url":"https://api.github.com/users/starcalibre","html_url":"https://github.com/starcalibre","followers_url":"https://api.github.com/users/starcalibre/followers","following_url":"https://api.github.com/users/starcalibre/following{/other_user}","gists_url":"https://api.github.com/users/starcalibre/gists{/gist_id}","starred_url":"https://api.github.com/users/starcalibre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starcalibre/subscriptions","organizations_url":"https://api.github.com/users/starcalibre/orgs","repos_url":"https://api.github.com/users/starcalibre/repos","events_url":"https://api.github.com/users/starcalibre/events{/privacy}","received_events_url":"https://api.github.com/users/starcalibre/received_events","type":"User","site_admin":false},"body":"Have been looking through the Cellomics datasets given to us by the VCFG and thought I'd get a head start on some of these functions.","created_at":"2014-12-08T00:42:54Z","updated_at":"2014-12-08T00:47:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc11adf7185cbaa6207395b7858ccc1905b3799b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jni/husc/pulls/18/commits","review_comments_url":"https://api.github.com/repos/jni/husc/pulls/18/comments","review_comment_url":"https://api.github.com/repos/jni/husc/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jni/husc/issues/18/comments","statuses_url":"https://api.github.com/repos/jni/husc/statuses/4701fe9c106b50b9196404399810c1868df129cd","head":{"label":"starcalibre:cellomics","ref":"cellomics","sha":"4701fe9c106b50b9196404399810c1868df129cd","user":{"login":"starcalibre","id":7637964,"avatar_url":"https://avatars.githubusercontent.com/u/7637964?v=3","gravatar_id":"","url":"https://api.github.com/users/starcalibre","html_url":"https://github.com/starcalibre","followers_url":"https://api.github.com/users/starcalibre/followers","following_url":"https://api.github.com/users/starcalibre/following{/other_user}","gists_url":"https://api.github.com/users/starcalibre/gists{/gist_id}","starred_url":"https://api.github.com/users/starcalibre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starcalibre/subscriptions","organizations_url":"https://api.github.com/users/starcalibre/orgs","repos_url":"https://api.github.com/users/starcalibre/repos","events_url":"https://api.github.com/users/starcalibre/events{/privacy}","received_events_url":"https://api.github.com/users/starcalibre/received_events","type":"User","site_admin":false},"repo":{"id":24707862,"name":"husc","full_name":"starcalibre/husc","owner":{"login":"starcalibre","id":7637964,"avatar_url":"https://avatars.githubusercontent.com/u/7637964?v=3","gravatar_id":"","url":"https://api.github.com/users/starcalibre","html_url":"https://github.com/starcalibre","followers_url":"https://api.github.com/users/starcalibre/followers","following_url":"https://api.github.com/users/starcalibre/following{/other_user}","gists_url":"https://api.github.com/users/starcalibre/gists{/gist_id}","starred_url":"https://api.github.com/users/starcalibre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starcalibre/subscriptions","organizations_url":"https://api.github.com/users/starcalibre/orgs","repos_url":"https://api.github.com/users/starcalibre/repos","events_url":"https://api.github.com/users/starcalibre/events{/privacy}","received_events_url":"https://api.github.com/users/starcalibre/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/starcalibre/husc","description":"Unsupervised clustering of high content screen samples","fork":true,"url":"https://api.github.com/repos/starcalibre/husc","forks_url":"https://api.github.com/repos/starcalibre/husc/forks","keys_url":"https://api.github.com/repos/starcalibre/husc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/starcalibre/husc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/starcalibre/husc/teams","hooks_url":"https://api.github.com/repos/starcalibre/husc/hooks","issue_events_url":"https://api.github.com/repos/starcalibre/husc/issues/events{/number}","events_url":"https://api.github.com/repos/starcalibre/husc/events","assignees_url":"https://api.github.com/repos/starcalibre/husc/assignees{/user}","branches_url":"https://api.github.com/repos/starcalibre/husc/branches{/branch}","tags_url":"https://api.github.com/repos/starcalibre/husc/tags","blobs_url":"https://api.github.com/repos/starcalibre/husc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/starcalibre/husc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/starcalibre/husc/git/refs{/sha}","trees_url":"https://api.github.com/repos/starcalibre/husc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/starcalibre/husc/statuses/{sha}","languages_url":"https://api.github.com/repos/starcalibre/husc/languages","stargazers_url":"https://api.github.com/repos/starcalibre/husc/stargazers","contributors_url":"https://api.github.com/repos/starcalibre/husc/contributors","subscribers_url":"https://api.github.com/repos/starcalibre/husc/subscribers","subscription_url":"https://api.github.com/repos/starcalibre/husc/subscription","commits_url":"https://api.github.com/repos/starcalibre/husc/commits{/sha}","git_commits_url":"https://api.github.com/repos/starcalibre/husc/git/commits{/sha}","comments_url":"https://api.github.com/repos/starcalibre/husc/comments{/number}","issue_comment_url":"https://api.github.com/repos/starcalibre/husc/issues/comments/{number}","contents_url":"https://api.github.com/repos/starcalibre/husc/contents/{+path}","compare_url":"https://api.github.com/repos/starcalibre/husc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/starcalibre/husc/merges","archive_url":"https://api.github.com/repos/starcalibre/husc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/starcalibre/husc/downloads","issues_url":"https://api.github.com/repos/starcalibre/husc/issues{/number}","pulls_url":"https://api.github.com/repos/starcalibre/husc/pulls{/number}","milestones_url":"https://api.github.com/repos/starcalibre/husc/milestones{/number}","notifications_url":"https://api.github.com/repos/starcalibre/husc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/starcalibre/husc/labels{/name}","releases_url":"https://api.github.com/repos/starcalibre/husc/releases{/id}","created_at":"2014-10-02T05:44:04Z","updated_at":"2014-12-05T05:26:35Z","pushed_at":"2014-12-08T00:38:15Z","git_url":"git://github.com/starcalibre/husc.git","ssh_url":"git@github.com:starcalibre/husc.git","clone_url":"https://github.com/starcalibre/husc.git","svn_url":"https://github.com/starcalibre/husc","homepage":null,"size":17506,"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":"jni:master","ref":"master","sha":"de4ccc588f4f8547813438e508a169f91c1b3af9","user":{"login":"jni","id":492549,"avatar_url":"https://avatars.githubusercontent.com/u/492549?v=3","gravatar_id":"","url":"https://api.github.com/users/jni","html_url":"https://github.com/jni","followers_url":"https://api.github.com/users/jni/followers","following_url":"https://api.github.com/users/jni/following{/other_user}","gists_url":"https://api.github.com/users/jni/gists{/gist_id}","starred_url":"https://api.github.com/users/jni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jni/subscriptions","organizations_url":"https://api.github.com/users/jni/orgs","repos_url":"https://api.github.com/users/jni/repos","events_url":"https://api.github.com/users/jni/events{/privacy}","received_events_url":"https://api.github.com/users/jni/received_events","type":"User","site_admin":false},"repo":{"id":9764938,"name":"husc","full_name":"jni/husc","owner":{"login":"jni","id":492549,"avatar_url":"https://avatars.githubusercontent.com/u/492549?v=3","gravatar_id":"","url":"https://api.github.com/users/jni","html_url":"https://github.com/jni","followers_url":"https://api.github.com/users/jni/followers","following_url":"https://api.github.com/users/jni/following{/other_user}","gists_url":"https://api.github.com/users/jni/gists{/gist_id}","starred_url":"https://api.github.com/users/jni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jni/subscriptions","organizations_url":"https://api.github.com/users/jni/orgs","repos_url":"https://api.github.com/users/jni/repos","events_url":"https://api.github.com/users/jni/events{/privacy}","received_events_url":"https://api.github.com/users/jni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jni/husc","description":"Unsupervised clustering of high content screen samples","fork":false,"url":"https://api.github.com/repos/jni/husc","forks_url":"https://api.github.com/repos/jni/husc/forks","keys_url":"https://api.github.com/repos/jni/husc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jni/husc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jni/husc/teams","hooks_url":"https://api.github.com/repos/jni/husc/hooks","issue_events_url":"https://api.github.com/repos/jni/husc/issues/events{/number}","events_url":"https://api.github.com/repos/jni/husc/events","assignees_url":"https://api.github.com/repos/jni/husc/assignees{/user}","branches_url":"https://api.github.com/repos/jni/husc/branches{/branch}","tags_url":"https://api.github.com/repos/jni/husc/tags","blobs_url":"https://api.github.com/repos/jni/husc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jni/husc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jni/husc/git/refs{/sha}","trees_url":"https://api.github.com/repos/jni/husc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jni/husc/statuses/{sha}","languages_url":"https://api.github.com/repos/jni/husc/languages","stargazers_url":"https://api.github.com/repos/jni/husc/stargazers","contributors_url":"https://api.github.com/repos/jni/husc/contributors","subscribers_url":"https://api.github.com/repos/jni/husc/subscribers","subscription_url":"https://api.github.com/repos/jni/husc/subscription","commits_url":"https://api.github.com/repos/jni/husc/commits{/sha}","git_commits_url":"https://api.github.com/repos/jni/husc/git/commits{/sha}","comments_url":"https://api.github.com/repos/jni/husc/comments{/number}","issue_comment_url":"https://api.github.com/repos/jni/husc/issues/comments/{number}","contents_url":"https://api.github.com/repos/jni/husc/contents/{+path}","compare_url":"https://api.github.com/repos/jni/husc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jni/husc/merges","archive_url":"https://api.github.com/repos/jni/husc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jni/husc/downloads","issues_url":"https://api.github.com/repos/jni/husc/issues{/number}","pulls_url":"https://api.github.com/repos/jni/husc/pulls{/number}","milestones_url":"https://api.github.com/repos/jni/husc/milestones{/number}","notifications_url":"https://api.github.com/repos/jni/husc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jni/husc/labels{/name}","releases_url":"https://api.github.com/repos/jni/husc/releases{/id}","created_at":"2013-04-30T05:56:29Z","updated_at":"2014-12-06T14:03:33Z","pushed_at":"2014-12-06T14:03:35Z","git_url":"git://github.com/jni/husc.git","ssh_url":"git@github.com:jni/husc.git","clone_url":"https://github.com/jni/husc.git","svn_url":"https://github.com/jni/husc","homepage":null,"size":17754,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jni/husc/pulls/18"},"html":{"href":"https://github.com/jni/husc/pull/18"},"issue":{"href":"https://api.github.com/repos/jni/husc/issues/18"},"comments":{"href":"https://api.github.com/repos/jni/husc/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/jni/husc/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/jni/husc/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jni/husc/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/jni/husc/statuses/4701fe9c106b50b9196404399810c1868df129cd"}}}}