{"action":"created","comment":{"url":"https://api.github.com/repos/jdereus/labman/pulls/comments/213151412","pull_request_review_id":149927036,"id":213151412,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzE1MTQxMg==","diff_hunk":"@@ -3090,23 +3090,66 @@ def generate_prep_information(self):\n                 ('r', 'water_lot_id', 'water_lot'),\n             ]\n             sql = \"\"\"\n-                SELECT study_id, sample_id, content, run_name, experiment,\n-                       fwd_cycles, rev_cycles, principal_investigator,\n-                       et.description as sequencer_description,\n-                       lpp.epmotion_robot_id as lepmotion_robot_id,\n-                       epmotion_tm300_8_tool_id, epmotion_tm50_8_tool_id,\n-                       master_mix_id, water_lot_id,\n-                       gep.epmotion_robot_id as gepmotion_robot_id,\n-                       epmotion_tool_id, kingfisher_robot_id,\n-                       extraction_kit_id,\n-                       p1.external_id as plate, w1.row_num as row_num,\n-                       w1.col_num as col_num,\n-                       p2.external_id as primer_composition,\n-                       psc.barcode_seq as primer_set_composition,\n-                       run_name as run_prefix, sp.sequencer_id as platform_id,\n-                       sp.experiment as center_project_name\n+                SELECT study_id, sample_id,\n+                    -- BARCODE\n+                    psc.barcode_seq AS barcode,\n+                    -- primer_set_id links to marker_gene_primer_set_id,\n+                    -- where we can get the linker/primer\n+                    primer_set_id,\n+                    -- primer_plate\n+                    p2.external_id AS primer_plate,\n+                    -- the well_id is a combination of the\n+                    --- row/col_num + content\n+                    w1.row_num AS row_num, w1.col_num AS col_num, content,\n+                    -- where to get the platting name\n+                    process.run_personnel_id AS plating,\n+                    -- extractionkit_lot\n+                    extraction_kit_id,\n+                    -- extraction_robot, both the epmotion robot and the\n+                    -- kingfisher robot\n+                    lpp.epmotion_robot_id AS lepmotion_robot_id,\n+                    kingfisher_robot_id,\n+                    -- TM1000_8_tool\n+                    epmotion_tool_id,\n+                    -- mAStermix_lot\n+                    mASter_mix_id,\n+                    -- water_lot\n+                    water_lot_id,\n+                    -- processing_robot\n+                    gep.epmotion_robot_id AS gepmotion_robot_id,\n+                    -- TM300_8_tool\n+                    epmotion_tm300_8_tool_id,\n+                    -- TM50_8_tool\n+                    epmotion_tm50_8_tool_id,\n+                    -- sample_plate\n+                    p1.external_id AS sample_plate,\n+                    -- project_name\n+                    study_alias AS project_name,\n+                    -- orig_name\n+                    sample_id AS orig_name,\n+                    -- experiment_design_description\n+                    '' AS experiment_design_description,\n+                    -- run_center\n+                    'UCSDMI' AS run_center,","path":"labman/db/process.py","position":59,"original_position":59,"commit_id":"66c5b4060bf6726e70f6b98f50cbb2b32e798b70","original_commit_id":"66c5b4060bf6726e70f6b98f50cbb2b32e798b70","user":{"login":"AmandaBirmingham","id":10677935,"node_id":"MDQ6VXNlcjEwNjc3OTM1","avatar_url":"https://avatars1.githubusercontent.com/u/10677935?v=4","gravatar_id":"","url":"https://api.github.com/users/AmandaBirmingham","html_url":"https://github.com/AmandaBirmingham","followers_url":"https://api.github.com/users/AmandaBirmingham/followers","following_url":"https://api.github.com/users/AmandaBirmingham/following{/other_user}","gists_url":"https://api.github.com/users/AmandaBirmingham/gists{/gist_id}","starred_url":"https://api.github.com/users/AmandaBirmingham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmandaBirmingham/subscriptions","organizations_url":"https://api.github.com/users/AmandaBirmingham/orgs","repos_url":"https://api.github.com/users/AmandaBirmingham/repos","events_url":"https://api.github.com/users/AmandaBirmingham/events{/privacy}","received_events_url":"https://api.github.com/users/AmandaBirmingham/received_events","type":"User","site_admin":false},"body":"Ok, I've put a question out to Gail.  If I learn that we need to make the behavior for this field more nuanced, I'll share that here.","created_at":"2018-08-28T00:05:28Z","updated_at":"2018-08-28T00:05:28Z","html_url":"https://github.com/jdereus/labman/pull/328#discussion_r213151412","pull_request_url":"https://api.github.com/repos/jdereus/labman/pulls/328","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/jdereus/labman/pulls/comments/213151412"},"html":{"href":"https://github.com/jdereus/labman/pull/328#discussion_r213151412"},"pull_request":{"href":"https://api.github.com/repos/jdereus/labman/pulls/328"}},"in_reply_to_id":213090899},"pull_request":{"url":"https://api.github.com/repos/jdereus/labman/pulls/328","id":209160285,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MTYwMjg1","html_url":"https://github.com/jdereus/labman/pull/328","diff_url":"https://github.com/jdereus/labman/pull/328.diff","patch_url":"https://github.com/jdereus/labman/pull/328.patch","issue_url":"https://api.github.com/repos/jdereus/labman/issues/328","number":328,"state":"open","locked":false,"title":"fix #301","user":{"login":"antgonza","id":2014559,"node_id":"MDQ6VXNlcjIwMTQ1NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/2014559?v=4","gravatar_id":"","url":"https://api.github.com/users/antgonza","html_url":"https://github.com/antgonza","followers_url":"https://api.github.com/users/antgonza/followers","following_url":"https://api.github.com/users/antgonza/following{/other_user}","gists_url":"https://api.github.com/users/antgonza/gists{/gist_id}","starred_url":"https://api.github.com/users/antgonza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antgonza/subscriptions","organizations_url":"https://api.github.com/users/antgonza/orgs","repos_url":"https://api.github.com/users/antgonza/repos","events_url":"https://api.github.com/users/antgonza/events{/privacy}","received_events_url":"https://api.github.com/users/antgonza/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-17T14:11:14Z","updated_at":"2018-08-28T00:05:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b3f38971d37651c23bcc741c091b7a5325b03554","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jdereus/labman/pulls/328/commits","review_comments_url":"https://api.github.com/repos/jdereus/labman/pulls/328/comments","review_comment_url":"https://api.github.com/repos/jdereus/labman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jdereus/labman/issues/328/comments","statuses_url":"https://api.github.com/repos/jdereus/labman/statuses/66c5b4060bf6726e70f6b98f50cbb2b32e798b70","head":{"label":"antgonza:fix-301","ref":"fix-301","sha":"66c5b4060bf6726e70f6b98f50cbb2b32e798b70","user":{"login":"antgonza","id":2014559,"node_id":"MDQ6VXNlcjIwMTQ1NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/2014559?v=4","gravatar_id":"","url":"https://api.github.com/users/antgonza","html_url":"https://github.com/antgonza","followers_url":"https://api.github.com/users/antgonza/followers","following_url":"https://api.github.com/users/antgonza/following{/other_user}","gists_url":"https://api.github.com/users/antgonza/gists{/gist_id}","starred_url":"https://api.github.com/users/antgonza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antgonza/subscriptions","organizations_url":"https://api.github.com/users/antgonza/orgs","repos_url":"https://api.github.com/users/antgonza/repos","events_url":"https://api.github.com/users/antgonza/events{/privacy}","received_events_url":"https://api.github.com/users/antgonza/received_events","type":"User","site_admin":false},"repo":{"id":117754098,"node_id":"MDEwOlJlcG9zaXRvcnkxMTc3NTQwOTg=","name":"labman","full_name":"antgonza/labman","owner":{"login":"antgonza","id":2014559,"node_id":"MDQ6VXNlcjIwMTQ1NTk=","avatar_url":"https://avatars2.githubusercontent.com/u/2014559?v=4","gravatar_id":"","url":"https://api.github.com/users/antgonza","html_url":"https://github.com/antgonza","followers_url":"https://api.github.com/users/antgonza/followers","following_url":"https://api.github.com/users/antgonza/following{/other_user}","gists_url":"https://api.github.com/users/antgonza/gists{/gist_id}","starred_url":"https://api.github.com/users/antgonza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antgonza/subscriptions","organizations_url":"https://api.github.com/users/antgonza/orgs","repos_url":"https://api.github.com/users/antgonza/repos","events_url":"https://api.github.com/users/antgonza/events{/privacy}","received_events_url":"https://api.github.com/users/antgonza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/antgonza/labman","description":"lab manager for plate maps and sequence flows","fork":true,"url":"https://api.github.com/repos/antgonza/labman","forks_url":"https://api.github.com/repos/antgonza/labman/forks","keys_url":"https://api.github.com/repos/antgonza/labman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antgonza/labman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antgonza/labman/teams","hooks_url":"https://api.github.com/repos/antgonza/labman/hooks","issue_events_url":"https://api.github.com/repos/antgonza/labman/issues/events{/number}","events_url":"https://api.github.com/repos/antgonza/labman/events","assignees_url":"https://api.github.com/repos/antgonza/labman/assignees{/user}","branches_url":"https://api.github.com/repos/antgonza/labman/branches{/branch}","tags_url":"https://api.github.com/repos/antgonza/labman/tags","blobs_url":"https://api.github.com/repos/antgonza/labman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antgonza/labman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antgonza/labman/git/refs{/sha}","trees_url":"https://api.github.com/repos/antgonza/labman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antgonza/labman/statuses/{sha}","languages_url":"https://api.github.com/repos/antgonza/labman/languages","stargazers_url":"https://api.github.com/repos/antgonza/labman/stargazers","contributors_url":"https://api.github.com/repos/antgonza/labman/contributors","subscribers_url":"https://api.github.com/repos/antgonza/labman/subscribers","subscription_url":"https://api.github.com/repos/antgonza/labman/subscription","commits_url":"https://api.github.com/repos/antgonza/labman/commits{/sha}","git_commits_url":"https://api.github.com/repos/antgonza/labman/git/commits{/sha}","comments_url":"https://api.github.com/repos/antgonza/labman/comments{/number}","issue_comment_url":"https://api.github.com/repos/antgonza/labman/issues/comments{/number}","contents_url":"https://api.github.com/repos/antgonza/labman/contents/{+path}","compare_url":"https://api.github.com/repos/antgonza/labman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antgonza/labman/merges","archive_url":"https://api.github.com/repos/antgonza/labman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antgonza/labman/downloads","issues_url":"https://api.github.com/repos/antgonza/labman/issues{/number}","pulls_url":"https://api.github.com/repos/antgonza/labman/pulls{/number}","milestones_url":"https://api.github.com/repos/antgonza/labman/milestones{/number}","notifications_url":"https://api.github.com/repos/antgonza/labman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antgonza/labman/labels{/name}","releases_url":"https://api.github.com/repos/antgonza/labman/releases{/id}","deployments_url":"https://api.github.com/repos/antgonza/labman/deployments","created_at":"2018-01-16T23:10:41Z","updated_at":"2018-08-15T20:45:42Z","pushed_at":"2018-08-24T19:54:36Z","git_url":"git://github.com/antgonza/labman.git","ssh_url":"git@github.com:antgonza/labman.git","clone_url":"https://github.com/antgonza/labman.git","svn_url":"https://github.com/antgonza/labman","homepage":"","size":4686,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jdereus:master","ref":"master","sha":"19dd95f4e5578c1d9e2c5642fbf7479ccf573730","user":{"login":"jdereus","id":14333677,"node_id":"MDQ6VXNlcjE0MzMzNjc3","avatar_url":"https://avatars2.githubusercontent.com/u/14333677?v=4","gravatar_id":"","url":"https://api.github.com/users/jdereus","html_url":"https://github.com/jdereus","followers_url":"https://api.github.com/users/jdereus/followers","following_url":"https://api.github.com/users/jdereus/following{/other_user}","gists_url":"https://api.github.com/users/jdereus/gists{/gist_id}","starred_url":"https://api.github.com/users/jdereus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdereus/subscriptions","organizations_url":"https://api.github.com/users/jdereus/orgs","repos_url":"https://api.github.com/users/jdereus/repos","events_url":"https://api.github.com/users/jdereus/events{/privacy}","received_events_url":"https://api.github.com/users/jdereus/received_events","type":"User","site_admin":false},"repo":{"id":91131580,"node_id":"MDEwOlJlcG9zaXRvcnk5MTEzMTU4MA==","name":"labman","full_name":"jdereus/labman","owner":{"login":"jdereus","id":14333677,"node_id":"MDQ6VXNlcjE0MzMzNjc3","avatar_url":"https://avatars2.githubusercontent.com/u/14333677?v=4","gravatar_id":"","url":"https://api.github.com/users/jdereus","html_url":"https://github.com/jdereus","followers_url":"https://api.github.com/users/jdereus/followers","following_url":"https://api.github.com/users/jdereus/following{/other_user}","gists_url":"https://api.github.com/users/jdereus/gists{/gist_id}","starred_url":"https://api.github.com/users/jdereus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdereus/subscriptions","organizations_url":"https://api.github.com/users/jdereus/orgs","repos_url":"https://api.github.com/users/jdereus/repos","events_url":"https://api.github.com/users/jdereus/events{/privacy}","received_events_url":"https://api.github.com/users/jdereus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jdereus/labman","description":"lab manager for plate maps and sequence flows","fork":false,"url":"https://api.github.com/repos/jdereus/labman","forks_url":"https://api.github.com/repos/jdereus/labman/forks","keys_url":"https://api.github.com/repos/jdereus/labman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jdereus/labman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jdereus/labman/teams","hooks_url":"https://api.github.com/repos/jdereus/labman/hooks","issue_events_url":"https://api.github.com/repos/jdereus/labman/issues/events{/number}","events_url":"https://api.github.com/repos/jdereus/labman/events","assignees_url":"https://api.github.com/repos/jdereus/labman/assignees{/user}","branches_url":"https://api.github.com/repos/jdereus/labman/branches{/branch}","tags_url":"https://api.github.com/repos/jdereus/labman/tags","blobs_url":"https://api.github.com/repos/jdereus/labman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jdereus/labman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jdereus/labman/git/refs{/sha}","trees_url":"https://api.github.com/repos/jdereus/labman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jdereus/labman/statuses/{sha}","languages_url":"https://api.github.com/repos/jdereus/labman/languages","stargazers_url":"https://api.github.com/repos/jdereus/labman/stargazers","contributors_url":"https://api.github.com/repos/jdereus/labman/contributors","subscribers_url":"https://api.github.com/repos/jdereus/labman/subscribers","subscription_url":"https://api.github.com/repos/jdereus/labman/subscription","commits_url":"https://api.github.com/repos/jdereus/labman/commits{/sha}","git_commits_url":"https://api.github.com/repos/jdereus/labman/git/commits{/sha}","comments_url":"https://api.github.com/repos/jdereus/labman/comments{/number}","issue_comment_url":"https://api.github.com/repos/jdereus/labman/issues/comments{/number}","contents_url":"https://api.github.com/repos/jdereus/labman/contents/{+path}","compare_url":"https://api.github.com/repos/jdereus/labman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jdereus/labman/merges","archive_url":"https://api.github.com/repos/jdereus/labman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jdereus/labman/downloads","issues_url":"https://api.github.com/repos/jdereus/labman/issues{/number}","pulls_url":"https://api.github.com/repos/jdereus/labman/pulls{/number}","milestones_url":"https://api.github.com/repos/jdereus/labman/milestones{/number}","notifications_url":"https://api.github.com/repos/jdereus/labman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jdereus/labman/labels{/name}","releases_url":"https://api.github.com/repos/jdereus/labman/releases{/id}","deployments_url":"https://api.github.com/repos/jdereus/labman/deployments","created_at":"2017-05-12T21:38:53Z","updated_at":"2018-08-23T23:38:26Z","pushed_at":"2018-08-27T22:02:58Z","git_url":"git://github.com/jdereus/labman.git","ssh_url":"git@github.com:jdereus/labman.git","clone_url":"https://github.com/jdereus/labman.git","svn_url":"https://github.com/jdereus/labman","homepage":"","size":4665,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":78,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":13,"open_issues":78,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jdereus/labman/pulls/328"},"html":{"href":"https://github.com/jdereus/labman/pull/328"},"issue":{"href":"https://api.github.com/repos/jdereus/labman/issues/328"},"comments":{"href":"https://api.github.com/repos/jdereus/labman/issues/328/comments"},"review_comments":{"href":"https://api.github.com/repos/jdereus/labman/pulls/328/comments"},"review_comment":{"href":"https://api.github.com/repos/jdereus/labman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jdereus/labman/pulls/328/commits"},"statuses":{"href":"https://api.github.com/repos/jdereus/labman/statuses/66c5b4060bf6726e70f6b98f50cbb2b32e798b70"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"AmandaBirmingham"}}