GitHub PullRequestReviewCommentEvent at 2014-11-27 13:30:50
Repository: dark-matter
Actor: terrycojones
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/acorg/dark-matter/pulls/comments/20995961","id":20995961,"diff_hunk":"@@ -0,0 +1,25 @@\n+# A table with which codons translate to which amino acids.\n+# Based on information from: http://wang.salk.edu/research.php\n+\n+CODONS = {\n+    'phe': ['TTT', 'TTC'],\n+    'leu': ['TTA', 'TTG', 'CTC', 'CTA'],\n+    'ile': ['ATC', 'ATA'],\n+    'val': ['GTC', 'GTA'],\n+    'met': ['ATG'],\n+    'ser': ['TCC', 'TCA', 'AGT', 'AGC'],\n+    'pro': ['CCC', 'CCA'],\n+    'thr': ['ACC', 'ACA'],\n+    'ala': ['GCC', 'GCA'],\n+    'tyr': ['TAT', 'TAC'],\n+    'his': ['CAT', 'CAC'],\n+    'gln': ['CAA', 'CAG'],\n+    'asn': ['AAT', 'AAC'],\n+    'lys': ['AAA', 'AAG'],\n+    'asp': ['GAT', 'GAC'],\n+    'glu': ['GAA', 'GAG'],\n+    'cys': ['TGT', 'TGC'],\n+    'trp': ['TGG'],\n+    'arg': ['CGC', 'CGA', 'AGA', 'AGG'],\n+    'gly': ['GGC', 'GGA']","path":"dark/codonTable.py","position":24,"original_position":24,"commit_id":"fd5497972ebfc078d80d0ef9eba1787dee5032a2","original_commit_id":"fd5497972ebfc078d80d0ef9eba1787dee5032a2","user":{"login":"terrycojones","id":132978,"avatar_url":"https://avatars.githubusercontent.com/u/132978?v=3","gravatar_id":"","url":"https://api.github.com/users/terrycojones","html_url":"https://github.com/terrycojones","followers_url":"https://api.github.com/users/terrycojones/followers","following_url":"https://api.github.com/users/terrycojones/following{/other_user}","gists_url":"https://api.github.com/users/terrycojones/gists{/gist_id}","starred_url":"https://api.github.com/users/terrycojones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terrycojones/subscriptions","organizations_url":"https://api.github.com/users/terrycojones/orgs","repos_url":"https://api.github.com/users/terrycojones/repos","events_url":"https://api.github.com/users/terrycojones/events{/privacy}","received_events_url":"https://api.github.com/users/terrycojones/received_events","type":"User","site_admin":false},"body":"Add a comma.","created_at":"2014-11-27T13:30:50Z","updated_at":"2014-11-27T13:30:50Z","html_url":"https://github.com/acorg/dark-matter/pull/271#discussion_r20995961","pull_request_url":"https://api.github.com/repos/acorg/dark-matter/pulls/271","_links":{"self":{"href":"https://api.github.com/repos/acorg/dark-matter/pulls/comments/20995961"},"html":{"href":"https://github.com/acorg/dark-matter/pull/271#discussion_r20995961"},"pull_request":{"href":"https://api.github.com/repos/acorg/dark-matter/pulls/271"}}},"pull_request":{"url":"https://api.github.com/repos/acorg/dark-matter/pulls/271","id":25141450,"html_url":"https://github.com/acorg/dark-matter/pull/271","diff_url":"https://github.com/acorg/dark-matter/pull/271.diff","patch_url":"https://github.com/acorg/dark-matter/pull/271.patch","issue_url":"https://api.github.com/repos/acorg/dark-matter/issues/271","number":271,"state":"open","locked":false,"title":"Added functions to calculate codon distance","user":{"login":"bamueh","id":4854653,"avatar_url":"https://avatars.githubusercontent.com/u/4854653?v=3","gravatar_id":"","url":"https://api.github.com/users/bamueh","html_url":"https://github.com/bamueh","followers_url":"https://api.github.com/users/bamueh/followers","following_url":"https://api.github.com/users/bamueh/following{/other_user}","gists_url":"https://api.github.com/users/bamueh/gists{/gist_id}","starred_url":"https://api.github.com/users/bamueh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamueh/subscriptions","organizations_url":"https://api.github.com/users/bamueh/orgs","repos_url":"https://api.github.com/users/bamueh/repos","events_url":"https://api.github.com/users/bamueh/events{/privacy}","received_events_url":"https://api.github.com/users/bamueh/received_events","type":"User","site_admin":false},"body":"Added a function that takes two amino acids and print the nucleotide distance for all possible codon combinations.","created_at":"2014-11-27T10:21:51Z","updated_at":"2014-11-27T13:30:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1af83baec42b2b668f50ce1041ef419cf28777dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/acorg/dark-matter/pulls/271/commits","review_comments_url":"https://api.github.com/repos/acorg/dark-matter/pulls/271/comments","review_comment_url":"https://api.github.com/repos/acorg/dark-matter/pulls/comments/{number}","comments_url":"https://api.github.com/repos/acorg/dark-matter/issues/271/comments","statuses_url":"https://api.github.com/repos/acorg/dark-matter/statuses/fd5497972ebfc078d80d0ef9eba1787dee5032a2","head":{"label":"bamueh:codon-distance","ref":"codon-distance","sha":"fd5497972ebfc078d80d0ef9eba1787dee5032a2","user":{"login":"bamueh","id":4854653,"avatar_url":"https://avatars.githubusercontent.com/u/4854653?v=3","gravatar_id":"","url":"https://api.github.com/users/bamueh","html_url":"https://github.com/bamueh","followers_url":"https://api.github.com/users/bamueh/followers","following_url":"https://api.github.com/users/bamueh/following{/other_user}","gists_url":"https://api.github.com/users/bamueh/gists{/gist_id}","starred_url":"https://api.github.com/users/bamueh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamueh/subscriptions","organizations_url":"https://api.github.com/users/bamueh/orgs","repos_url":"https://api.github.com/users/bamueh/repos","events_url":"https://api.github.com/users/bamueh/events{/privacy}","received_events_url":"https://api.github.com/users/bamueh/received_events","type":"User","site_admin":false},"repo":{"id":25073425,"name":"dark-matter","full_name":"bamueh/dark-matter","owner":{"login":"bamueh","id":4854653,"avatar_url":"https://avatars.githubusercontent.com/u/4854653?v=3","gravatar_id":"","url":"https://api.github.com/users/bamueh","html_url":"https://github.com/bamueh","followers_url":"https://api.github.com/users/bamueh/followers","following_url":"https://api.github.com/users/bamueh/following{/other_user}","gists_url":"https://api.github.com/users/bamueh/gists{/gist_id}","starred_url":"https://api.github.com/users/bamueh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bamueh/subscriptions","organizations_url":"https://api.github.com/users/bamueh/orgs","repos_url":"https://api.github.com/users/bamueh/repos","events_url":"https://api.github.com/users/bamueh/events{/privacy}","received_events_url":"https://api.github.com/users/bamueh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bamueh/dark-matter","description":"Virus discovery","fork":true,"url":"https://api.github.com/repos/bamueh/dark-matter","forks_url":"https://api.github.com/repos/bamueh/dark-matter/forks","keys_url":"https://api.github.com/repos/bamueh/dark-matter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bamueh/dark-matter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bamueh/dark-matter/teams","hooks_url":"https://api.github.com/repos/bamueh/dark-matter/hooks","issue_events_url":"https://api.github.com/repos/bamueh/dark-matter/issues/events{/number}","events_url":"https://api.github.com/repos/bamueh/dark-matter/events","assignees_url":"https://api.github.com/repos/bamueh/dark-matter/assignees{/user}","branches_url":"https://api.github.com/repos/bamueh/dark-matter/branches{/branch}","tags_url":"https://api.github.com/repos/bamueh/dark-matter/tags","blobs_url":"https://api.github.com/repos/bamueh/dark-matter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bamueh/dark-matter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bamueh/dark-matter/git/refs{/sha}","trees_url":"https://api.github.com/repos/bamueh/dark-matter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bamueh/dark-matter/statuses/{sha}","languages_url":"https://api.github.com/repos/bamueh/dark-matter/languages","stargazers_url":"https://api.github.com/repos/bamueh/dark-matter/stargazers","contributors_url":"https://api.github.com/repos/bamueh/dark-matter/contributors","subscribers_url":"https://api.github.com/repos/bamueh/dark-matter/subscribers","subscription_url":"https://api.github.com/repos/bamueh/dark-matter/subscription","commits_url":"https://api.github.com/repos/bamueh/dark-matter/commits{/sha}","git_commits_url":"https://api.github.com/repos/bamueh/dark-matter/git/commits{/sha}","comments_url":"https://api.github.com/repos/bamueh/dark-matter/comments{/number}","issue_comment_url":"https://api.github.com/repos/bamueh/dark-matter/issues/comments/{number}","contents_url":"https://api.github.com/repos/bamueh/dark-matter/contents/{+path}","compare_url":"https://api.github.com/repos/bamueh/dark-matter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bamueh/dark-matter/merges","archive_url":"https://api.github.com/repos/bamueh/dark-matter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bamueh/dark-matter/downloads","issues_url":"https://api.github.com/repos/bamueh/dark-matter/issues{/number}","pulls_url":"https://api.github.com/repos/bamueh/dark-matter/pulls{/number}","milestones_url":"https://api.github.com/repos/bamueh/dark-matter/milestones{/number}","notifications_url":"https://api.github.com/repos/bamueh/dark-matter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bamueh/dark-matter/labels{/name}","releases_url":"https://api.github.com/repos/bamueh/dark-matter/releases{/id}","created_at":"2014-10-11T10:15:52Z","updated_at":"2014-11-26T19:15:22Z","pushed_at":"2014-11-27T10:20:53Z","git_url":"git://github.com/bamueh/dark-matter.git","ssh_url":"git@github.com:bamueh/dark-matter.git","clone_url":"https://github.com/bamueh/dark-matter.git","svn_url":"https://github.com/bamueh/dark-matter","homepage":null,"size":1007,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"acorg:master","ref":"master","sha":"11cd60921a93d668efba9c27f848f456cd347053","user":{"login":"acorg","id":4853692,"avatar_url":"https://avatars.githubusercontent.com/u/4853692?v=3","gravatar_id":"","url":"https://api.github.com/users/acorg","html_url":"https://github.com/acorg","followers_url":"https://api.github.com/users/acorg/followers","following_url":"https://api.github.com/users/acorg/following{/other_user}","gists_url":"https://api.github.com/users/acorg/gists{/gist_id}","starred_url":"https://api.github.com/users/acorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acorg/subscriptions","organizations_url":"https://api.github.com/users/acorg/orgs","repos_url":"https://api.github.com/users/acorg/repos","events_url":"https://api.github.com/users/acorg/events{/privacy}","received_events_url":"https://api.github.com/users/acorg/received_events","type":"Organization","site_admin":false},"repo":{"id":11003251,"name":"dark-matter","full_name":"acorg/dark-matter","owner":{"login":"acorg","id":4853692,"avatar_url":"https://avatars.githubusercontent.com/u/4853692?v=3","gravatar_id":"","url":"https://api.github.com/users/acorg","html_url":"https://github.com/acorg","followers_url":"https://api.github.com/users/acorg/followers","following_url":"https://api.github.com/users/acorg/following{/other_user}","gists_url":"https://api.github.com/users/acorg/gists{/gist_id}","starred_url":"https://api.github.com/users/acorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acorg/subscriptions","organizations_url":"https://api.github.com/users/acorg/orgs","repos_url":"https://api.github.com/users/acorg/repos","events_url":"https://api.github.com/users/acorg/events{/privacy}","received_events_url":"https://api.github.com/users/acorg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/acorg/dark-matter","description":"Virus discovery","fork":false,"url":"https://api.github.com/repos/acorg/dark-matter","forks_url":"https://api.github.com/repos/acorg/dark-matter/forks","keys_url":"https://api.github.com/repos/acorg/dark-matter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acorg/dark-matter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acorg/dark-matter/teams","hooks_url":"https://api.github.com/repos/acorg/dark-matter/hooks","issue_events_url":"https://api.github.com/repos/acorg/dark-matter/issues/events{/number}","events_url":"https://api.github.com/repos/acorg/dark-matter/events","assignees_url":"https://api.github.com/repos/acorg/dark-matter/assignees{/user}","branches_url":"https://api.github.com/repos/acorg/dark-matter/branches{/branch}","tags_url":"https://api.github.com/repos/acorg/dark-matter/tags","blobs_url":"https://api.github.com/repos/acorg/dark-matter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acorg/dark-matter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acorg/dark-matter/git/refs{/sha}","trees_url":"https://api.github.com/repos/acorg/dark-matter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acorg/dark-matter/statuses/{sha}","languages_url":"https://api.github.com/repos/acorg/dark-matter/languages","stargazers_url":"https://api.github.com/repos/acorg/dark-matter/stargazers","contributors_url":"https://api.github.com/repos/acorg/dark-matter/contributors","subscribers_url":"https://api.github.com/repos/acorg/dark-matter/subscribers","subscription_url":"https://api.github.com/repos/acorg/dark-matter/subscription","commits_url":"https://api.github.com/repos/acorg/dark-matter/commits{/sha}","git_commits_url":"https://api.github.com/repos/acorg/dark-matter/git/commits{/sha}","comments_url":"https://api.github.com/repos/acorg/dark-matter/comments{/number}","issue_comment_url":"https://api.github.com/repos/acorg/dark-matter/issues/comments/{number}","contents_url":"https://api.github.com/repos/acorg/dark-matter/contents/{+path}","compare_url":"https://api.github.com/repos/acorg/dark-matter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acorg/dark-matter/merges","archive_url":"https://api.github.com/repos/acorg/dark-matter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acorg/dark-matter/downloads","issues_url":"https://api.github.com/repos/acorg/dark-matter/issues{/number}","pulls_url":"https://api.github.com/repos/acorg/dark-matter/pulls{/number}","milestones_url":"https://api.github.com/repos/acorg/dark-matter/milestones{/number}","notifications_url":"https://api.github.com/repos/acorg/dark-matter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acorg/dark-matter/labels{/name}","releases_url":"https://api.github.com/repos/acorg/dark-matter/releases{/id}","created_at":"2013-06-27T17:25:29Z","updated_at":"2014-11-24T11:56:31Z","pushed_at":"2014-11-24T11:56:31Z","git_url":"git://github.com/acorg/dark-matter.git","ssh_url":"git@github.com:acorg/dark-matter.git","clone_url":"https://github.com/acorg/dark-matter.git","svn_url":"https://github.com/acorg/dark-matter","homepage":null,"size":3572,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":17,"forks":3,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/acorg/dark-matter/pulls/271"},"html":{"href":"https://github.com/acorg/dark-matter/pull/271"},"issue":{"href":"https://api.github.com/repos/acorg/dark-matter/issues/271"},"comments":{"href":"https://api.github.com/repos/acorg/dark-matter/issues/271/comments"},"review_comments":{"href":"https://api.github.com/repos/acorg/dark-matter/pulls/271/comments"},"review_comment":{"href":"https://api.github.com/repos/acorg/dark-matter/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/acorg/dark-matter/pulls/271/commits"},"statuses":{"href":"https://api.github.com/repos/acorg/dark-matter/statuses/fd5497972ebfc078d80d0ef9eba1787dee5032a2"}}}}