{"action":"created","comment":{"url":"https://api.github.com/repos/biocore/labadmin/pulls/comments/41703221","id":41703221,"diff_hunk":"@@ -1664,12 +1711,13 @@ def get_plate_for_barcode(self, barcode):\n         \"\"\"\n         Gets the sequencing plates a barcode is on\n         \"\"\"\n-        sql = \"\"\"select  p.plate, p.sequence_date\n-                 from    plate p inner join plate_barcode pb on\n+        sql = \"\"\"SELECT p.plate, p.sequence_date\n+                 FROM plate p INNER JOIN plate_barcode pb ON","path":"knimin/lib/data_access.py","position":443,"original_position":443,"commit_id":"fdfef43d222a4427a4d0b5336fa07497d78fa70a","original_commit_id":"fdfef43d222a4427a4d0b5336fa07497d78fa70a","user":{"login":"squirrelo","id":3079066,"avatar_url":"https://avatars.githubusercontent.com/u/3079066?v=3","gravatar_id":"","url":"https://api.github.com/users/squirrelo","html_url":"https://github.com/squirrelo","followers_url":"https://api.github.com/users/squirrelo/followers","following_url":"https://api.github.com/users/squirrelo/following{/other_user}","gists_url":"https://api.github.com/users/squirrelo/gists{/gist_id}","starred_url":"https://api.github.com/users/squirrelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/squirrelo/subscriptions","organizations_url":"https://api.github.com/users/squirrelo/orgs","repos_url":"https://api.github.com/users/squirrelo/repos","events_url":"https://api.github.com/users/squirrelo/events{/privacy}","received_events_url":"https://api.github.com/users/squirrelo/received_events","type":"User","site_admin":false},"body":"INNER JOIN can be moved to new line","created_at":"2015-10-11T00:25:09Z","updated_at":"2015-10-11T00:25:09Z","html_url":"https://github.com/biocore/labadmin/pull/2#discussion_r41703221","pull_request_url":"https://api.github.com/repos/biocore/labadmin/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/biocore/labadmin/pulls/comments/41703221"},"html":{"href":"https://github.com/biocore/labadmin/pull/2#discussion_r41703221"},"pull_request":{"href":"https://api.github.com/repos/biocore/labadmin/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/biocore/labadmin/pulls/2","id":47307499,"html_url":"https://github.com/biocore/labadmin/pull/2","diff_url":"https://github.com/biocore/labadmin/pull/2.diff","patch_url":"https://github.com/biocore/labadmin/pull/2.patch","issue_url":"https://api.github.com/repos/biocore/labadmin/issues/2","number":2,"state":"open","locked":false,"title":"STY: Giving offerings to the pep8","user":{"login":"mortonjt","id":4184797,"avatar_url":"https://avatars.githubusercontent.com/u/4184797?v=3","gravatar_id":"","url":"https://api.github.com/users/mortonjt","html_url":"https://github.com/mortonjt","followers_url":"https://api.github.com/users/mortonjt/followers","following_url":"https://api.github.com/users/mortonjt/following{/other_user}","gists_url":"https://api.github.com/users/mortonjt/gists{/gist_id}","starred_url":"https://api.github.com/users/mortonjt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mortonjt/subscriptions","organizations_url":"https://api.github.com/users/mortonjt/orgs","repos_url":"https://api.github.com/users/mortonjt/repos","events_url":"https://api.github.com/users/mortonjt/events{/privacy}","received_events_url":"https://api.github.com/users/mortonjt/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-09T18:58:53Z","updated_at":"2015-10-11T00:25:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d9a4c9835e71e440910f08937a121585a534c69","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/biocore/labadmin/pulls/2/commits","review_comments_url":"https://api.github.com/repos/biocore/labadmin/pulls/2/comments","review_comment_url":"https://api.github.com/repos/biocore/labadmin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/biocore/labadmin/issues/2/comments","statuses_url":"https://api.github.com/repos/biocore/labadmin/statuses/fdfef43d222a4427a4d0b5336fa07497d78fa70a","head":{"label":"mortonjt:pepification","ref":"pepification","sha":"fdfef43d222a4427a4d0b5336fa07497d78fa70a","user":{"login":"mortonjt","id":4184797,"avatar_url":"https://avatars.githubusercontent.com/u/4184797?v=3","gravatar_id":"","url":"https://api.github.com/users/mortonjt","html_url":"https://github.com/mortonjt","followers_url":"https://api.github.com/users/mortonjt/followers","following_url":"https://api.github.com/users/mortonjt/following{/other_user}","gists_url":"https://api.github.com/users/mortonjt/gists{/gist_id}","starred_url":"https://api.github.com/users/mortonjt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mortonjt/subscriptions","organizations_url":"https://api.github.com/users/mortonjt/orgs","repos_url":"https://api.github.com/users/mortonjt/repos","events_url":"https://api.github.com/users/mortonjt/events{/privacy}","received_events_url":"https://api.github.com/users/mortonjt/received_events","type":"User","site_admin":false},"repo":{"id":43974390,"name":"labadmin","full_name":"mortonjt/labadmin","owner":{"login":"mortonjt","id":4184797,"avatar_url":"https://avatars.githubusercontent.com/u/4184797?v=3","gravatar_id":"","url":"https://api.github.com/users/mortonjt","html_url":"https://github.com/mortonjt","followers_url":"https://api.github.com/users/mortonjt/followers","following_url":"https://api.github.com/users/mortonjt/following{/other_user}","gists_url":"https://api.github.com/users/mortonjt/gists{/gist_id}","starred_url":"https://api.github.com/users/mortonjt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mortonjt/subscriptions","organizations_url":"https://api.github.com/users/mortonjt/orgs","repos_url":"https://api.github.com/users/mortonjt/repos","events_url":"https://api.github.com/users/mortonjt/events{/privacy}","received_events_url":"https://api.github.com/users/mortonjt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mortonjt/labadmin","description":"Administration website for the Knight Lab","fork":true,"url":"https://api.github.com/repos/mortonjt/labadmin","forks_url":"https://api.github.com/repos/mortonjt/labadmin/forks","keys_url":"https://api.github.com/repos/mortonjt/labadmin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mortonjt/labadmin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mortonjt/labadmin/teams","hooks_url":"https://api.github.com/repos/mortonjt/labadmin/hooks","issue_events_url":"https://api.github.com/repos/mortonjt/labadmin/issues/events{/number}","events_url":"https://api.github.com/repos/mortonjt/labadmin/events","assignees_url":"https://api.github.com/repos/mortonjt/labadmin/assignees{/user}","branches_url":"https://api.github.com/repos/mortonjt/labadmin/branches{/branch}","tags_url":"https://api.github.com/repos/mortonjt/labadmin/tags","blobs_url":"https://api.github.com/repos/mortonjt/labadmin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mortonjt/labadmin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mortonjt/labadmin/git/refs{/sha}","trees_url":"https://api.github.com/repos/mortonjt/labadmin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mortonjt/labadmin/statuses/{sha}","languages_url":"https://api.github.com/repos/mortonjt/labadmin/languages","stargazers_url":"https://api.github.com/repos/mortonjt/labadmin/stargazers","contributors_url":"https://api.github.com/repos/mortonjt/labadmin/contributors","subscribers_url":"https://api.github.com/repos/mortonjt/labadmin/subscribers","subscription_url":"https://api.github.com/repos/mortonjt/labadmin/subscription","commits_url":"https://api.github.com/repos/mortonjt/labadmin/commits{/sha}","git_commits_url":"https://api.github.com/repos/mortonjt/labadmin/git/commits{/sha}","comments_url":"https://api.github.com/repos/mortonjt/labadmin/comments{/number}","issue_comment_url":"https://api.github.com/repos/mortonjt/labadmin/issues/comments{/number}","contents_url":"https://api.github.com/repos/mortonjt/labadmin/contents/{+path}","compare_url":"https://api.github.com/repos/mortonjt/labadmin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mortonjt/labadmin/merges","archive_url":"https://api.github.com/repos/mortonjt/labadmin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mortonjt/labadmin/downloads","issues_url":"https://api.github.com/repos/mortonjt/labadmin/issues{/number}","pulls_url":"https://api.github.com/repos/mortonjt/labadmin/pulls{/number}","milestones_url":"https://api.github.com/repos/mortonjt/labadmin/milestones{/number}","notifications_url":"https://api.github.com/repos/mortonjt/labadmin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mortonjt/labadmin/labels{/name}","releases_url":"https://api.github.com/repos/mortonjt/labadmin/releases{/id}","created_at":"2015-10-09T18:56:44Z","updated_at":"2015-10-09T18:56:47Z","pushed_at":"2015-10-11T00:15:15Z","git_url":"git://github.com/mortonjt/labadmin.git","ssh_url":"git@github.com:mortonjt/labadmin.git","clone_url":"https://github.com/mortonjt/labadmin.git","svn_url":"https://github.com/mortonjt/labadmin","homepage":"","size":0,"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":"biocore:master","ref":"master","sha":"8295b1dd9f9d0acaa066d37440d2942ca8da3436","user":{"login":"biocore","id":6241857,"avatar_url":"https://avatars.githubusercontent.com/u/6241857?v=3","gravatar_id":"","url":"https://api.github.com/users/biocore","html_url":"https://github.com/biocore","followers_url":"https://api.github.com/users/biocore/followers","following_url":"https://api.github.com/users/biocore/following{/other_user}","gists_url":"https://api.github.com/users/biocore/gists{/gist_id}","starred_url":"https://api.github.com/users/biocore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biocore/subscriptions","organizations_url":"https://api.github.com/users/biocore/orgs","repos_url":"https://api.github.com/users/biocore/repos","events_url":"https://api.github.com/users/biocore/events{/privacy}","received_events_url":"https://api.github.com/users/biocore/received_events","type":"Organization","site_admin":false},"repo":{"id":43971581,"name":"labadmin","full_name":"biocore/labadmin","owner":{"login":"biocore","id":6241857,"avatar_url":"https://avatars.githubusercontent.com/u/6241857?v=3","gravatar_id":"","url":"https://api.github.com/users/biocore","html_url":"https://github.com/biocore","followers_url":"https://api.github.com/users/biocore/followers","following_url":"https://api.github.com/users/biocore/following{/other_user}","gists_url":"https://api.github.com/users/biocore/gists{/gist_id}","starred_url":"https://api.github.com/users/biocore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biocore/subscriptions","organizations_url":"https://api.github.com/users/biocore/orgs","repos_url":"https://api.github.com/users/biocore/repos","events_url":"https://api.github.com/users/biocore/events{/privacy}","received_events_url":"https://api.github.com/users/biocore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/biocore/labadmin","description":"Administration website for the Knight Lab","fork":false,"url":"https://api.github.com/repos/biocore/labadmin","forks_url":"https://api.github.com/repos/biocore/labadmin/forks","keys_url":"https://api.github.com/repos/biocore/labadmin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biocore/labadmin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biocore/labadmin/teams","hooks_url":"https://api.github.com/repos/biocore/labadmin/hooks","issue_events_url":"https://api.github.com/repos/biocore/labadmin/issues/events{/number}","events_url":"https://api.github.com/repos/biocore/labadmin/events","assignees_url":"https://api.github.com/repos/biocore/labadmin/assignees{/user}","branches_url":"https://api.github.com/repos/biocore/labadmin/branches{/branch}","tags_url":"https://api.github.com/repos/biocore/labadmin/tags","blobs_url":"https://api.github.com/repos/biocore/labadmin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biocore/labadmin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biocore/labadmin/git/refs{/sha}","trees_url":"https://api.github.com/repos/biocore/labadmin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biocore/labadmin/statuses/{sha}","languages_url":"https://api.github.com/repos/biocore/labadmin/languages","stargazers_url":"https://api.github.com/repos/biocore/labadmin/stargazers","contributors_url":"https://api.github.com/repos/biocore/labadmin/contributors","subscribers_url":"https://api.github.com/repos/biocore/labadmin/subscribers","subscription_url":"https://api.github.com/repos/biocore/labadmin/subscription","commits_url":"https://api.github.com/repos/biocore/labadmin/commits{/sha}","git_commits_url":"https://api.github.com/repos/biocore/labadmin/git/commits{/sha}","comments_url":"https://api.github.com/repos/biocore/labadmin/comments{/number}","issue_comment_url":"https://api.github.com/repos/biocore/labadmin/issues/comments{/number}","contents_url":"https://api.github.com/repos/biocore/labadmin/contents/{+path}","compare_url":"https://api.github.com/repos/biocore/labadmin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biocore/labadmin/merges","archive_url":"https://api.github.com/repos/biocore/labadmin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biocore/labadmin/downloads","issues_url":"https://api.github.com/repos/biocore/labadmin/issues{/number}","pulls_url":"https://api.github.com/repos/biocore/labadmin/pulls{/number}","milestones_url":"https://api.github.com/repos/biocore/labadmin/milestones{/number}","notifications_url":"https://api.github.com/repos/biocore/labadmin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biocore/labadmin/labels{/name}","releases_url":"https://api.github.com/repos/biocore/labadmin/releases{/id}","created_at":"2015-10-09T17:57:39Z","updated_at":"2015-10-09T18:31:17Z","pushed_at":"2015-10-11T00:15:15Z","git_url":"git://github.com/biocore/labadmin.git","ssh_url":"git@github.com:biocore/labadmin.git","clone_url":"https://github.com/biocore/labadmin.git","svn_url":"https://github.com/biocore/labadmin","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biocore/labadmin/pulls/2"},"html":{"href":"https://github.com/biocore/labadmin/pull/2"},"issue":{"href":"https://api.github.com/repos/biocore/labadmin/issues/2"},"comments":{"href":"https://api.github.com/repos/biocore/labadmin/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/biocore/labadmin/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/biocore/labadmin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/biocore/labadmin/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/biocore/labadmin/statuses/fdfef43d222a4427a4d0b5336fa07497d78fa70a"}}}}