{"action":"created","comment":{"url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/comments/30802693","id":30802693,"diff_hunk":"@@ -157,6 +157,7 @@ def insert_run_start(time, scan_id, beamline_id, beamline_config, uid=None,\n     if project is None:\n         project = ''\n \n+    beamline_config = BeamlineConfig.objects(uid=beamline_config).first()","path":"metadatastore/commands.py","position":15,"original_position":15,"commit_id":"bab2e81c0f690d268498f890f27131295b088141","original_commit_id":"bab2e81c0f690d268498f890f27131295b088141","user":{"login":"ericdill","id":6223243,"avatar_url":"https://avatars.githubusercontent.com/u/6223243?v=3","gravatar_id":"","url":"https://api.github.com/users/ericdill","html_url":"https://github.com/ericdill","followers_url":"https://api.github.com/users/ericdill/followers","following_url":"https://api.github.com/users/ericdill/following{/other_user}","gists_url":"https://api.github.com/users/ericdill/gists{/gist_id}","starred_url":"https://api.github.com/users/ericdill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericdill/subscriptions","organizations_url":"https://api.github.com/users/ericdill/orgs","repos_url":"https://api.github.com/users/ericdill/repos","events_url":"https://api.github.com/users/ericdill/events{/privacy}","received_events_url":"https://api.github.com/users/ericdill/received_events","type":"User","site_admin":false},"body":"`.get()` is not a valid method\r\n\r\nhttp://nbviewer.ipython.org/gist/ericdill/ca047302c2c1f1865415","created_at":"2015-05-21T13:45:17Z","updated_at":"2015-05-21T13:45:17Z","html_url":"https://github.com/NSLS-II/metadatastore/pull/142#discussion_r30802693","pull_request_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/142","_links":{"self":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/comments/30802693"},"html":{"href":"https://github.com/NSLS-II/metadatastore/pull/142#discussion_r30802693"},"pull_request":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/142"}}},"pull_request":{"url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/142","id":35458799,"html_url":"https://github.com/NSLS-II/metadatastore/pull/142","diff_url":"https://github.com/NSLS-II/metadatastore/pull/142.diff","patch_url":"https://github.com/NSLS-II/metadatastore/pull/142.patch","issue_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues/142","number":142,"state":"open","locked":false,"title":"WIP: Uids for all","user":{"login":"ericdill","id":6223243,"avatar_url":"https://avatars.githubusercontent.com/u/6223243?v=3","gravatar_id":"","url":"https://api.github.com/users/ericdill","html_url":"https://github.com/ericdill","followers_url":"https://api.github.com/users/ericdill/followers","following_url":"https://api.github.com/users/ericdill/following{/other_user}","gists_url":"https://api.github.com/users/ericdill/gists{/gist_id}","starred_url":"https://api.github.com/users/ericdill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericdill/subscriptions","organizations_url":"https://api.github.com/users/ericdill/orgs","repos_url":"https://api.github.com/users/ericdill/repos","events_url":"https://api.github.com/users/ericdill/events{/privacy}","received_events_url":"https://api.github.com/users/ericdill/received_events","type":"User","site_admin":false},"body":"Supersedes #140\r\n\r\n~~Note that this is not yet ready for merge, I wanted a place to compare all the changes while I finish the dev on this.~~","created_at":"2015-05-14T20:30:01Z","updated_at":"2015-05-21T13:45:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1bf52cb775c4a0321ad2bc6ece09220936bdc300","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/142/commits","review_comments_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/142/comments","review_comment_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues/142/comments","statuses_url":"https://api.github.com/repos/NSLS-II/metadatastore/statuses/bab2e81c0f690d268498f890f27131295b088141","head":{"label":"ericdill:uids-for-all","ref":"uids-for-all","sha":"bab2e81c0f690d268498f890f27131295b088141","user":{"login":"ericdill","id":6223243,"avatar_url":"https://avatars.githubusercontent.com/u/6223243?v=3","gravatar_id":"","url":"https://api.github.com/users/ericdill","html_url":"https://github.com/ericdill","followers_url":"https://api.github.com/users/ericdill/followers","following_url":"https://api.github.com/users/ericdill/following{/other_user}","gists_url":"https://api.github.com/users/ericdill/gists{/gist_id}","starred_url":"https://api.github.com/users/ericdill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericdill/subscriptions","organizations_url":"https://api.github.com/users/ericdill/orgs","repos_url":"https://api.github.com/users/ericdill/repos","events_url":"https://api.github.com/users/ericdill/events{/privacy}","received_events_url":"https://api.github.com/users/ericdill/received_events","type":"User","site_admin":false},"repo":{"id":21710340,"name":"metadataStore","full_name":"ericdill/metadataStore","owner":{"login":"ericdill","id":6223243,"avatar_url":"https://avatars.githubusercontent.com/u/6223243?v=3","gravatar_id":"","url":"https://api.github.com/users/ericdill","html_url":"https://github.com/ericdill","followers_url":"https://api.github.com/users/ericdill/followers","following_url":"https://api.github.com/users/ericdill/following{/other_user}","gists_url":"https://api.github.com/users/ericdill/gists{/gist_id}","starred_url":"https://api.github.com/users/ericdill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericdill/subscriptions","organizations_url":"https://api.github.com/users/ericdill/orgs","repos_url":"https://api.github.com/users/ericdill/repos","events_url":"https://api.github.com/users/ericdill/events{/privacy}","received_events_url":"https://api.github.com/users/ericdill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericdill/metadataStore","description":"NSLS2 Beamlines MetadataStore implemented in MongoDB","fork":true,"url":"https://api.github.com/repos/ericdill/metadataStore","forks_url":"https://api.github.com/repos/ericdill/metadataStore/forks","keys_url":"https://api.github.com/repos/ericdill/metadataStore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericdill/metadataStore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericdill/metadataStore/teams","hooks_url":"https://api.github.com/repos/ericdill/metadataStore/hooks","issue_events_url":"https://api.github.com/repos/ericdill/metadataStore/issues/events{/number}","events_url":"https://api.github.com/repos/ericdill/metadataStore/events","assignees_url":"https://api.github.com/repos/ericdill/metadataStore/assignees{/user}","branches_url":"https://api.github.com/repos/ericdill/metadataStore/branches{/branch}","tags_url":"https://api.github.com/repos/ericdill/metadataStore/tags","blobs_url":"https://api.github.com/repos/ericdill/metadataStore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericdill/metadataStore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericdill/metadataStore/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericdill/metadataStore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericdill/metadataStore/statuses/{sha}","languages_url":"https://api.github.com/repos/ericdill/metadataStore/languages","stargazers_url":"https://api.github.com/repos/ericdill/metadataStore/stargazers","contributors_url":"https://api.github.com/repos/ericdill/metadataStore/contributors","subscribers_url":"https://api.github.com/repos/ericdill/metadataStore/subscribers","subscription_url":"https://api.github.com/repos/ericdill/metadataStore/subscription","commits_url":"https://api.github.com/repos/ericdill/metadataStore/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericdill/metadataStore/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericdill/metadataStore/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericdill/metadataStore/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericdill/metadataStore/contents/{+path}","compare_url":"https://api.github.com/repos/ericdill/metadataStore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericdill/metadataStore/merges","archive_url":"https://api.github.com/repos/ericdill/metadataStore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericdill/metadataStore/downloads","issues_url":"https://api.github.com/repos/ericdill/metadataStore/issues{/number}","pulls_url":"https://api.github.com/repos/ericdill/metadataStore/pulls{/number}","milestones_url":"https://api.github.com/repos/ericdill/metadataStore/milestones{/number}","notifications_url":"https://api.github.com/repos/ericdill/metadataStore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericdill/metadataStore/labels{/name}","releases_url":"https://api.github.com/repos/ericdill/metadataStore/releases{/id}","created_at":"2014-07-10T21:06:35Z","updated_at":"2015-04-30T14:25:15Z","pushed_at":"2015-05-20T13:43:29Z","git_url":"git://github.com/ericdill/metadataStore.git","ssh_url":"git@github.com:ericdill/metadataStore.git","clone_url":"https://github.com/ericdill/metadataStore.git","svn_url":"https://github.com/ericdill/metadataStore","homepage":"","size":1982,"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":"NSLS-II:master","ref":"master","sha":"c6c9a795103d553f61752b65a3a0498bc56cbd77","user":{"login":"NSLS-II","id":8700262,"avatar_url":"https://avatars.githubusercontent.com/u/8700262?v=3","gravatar_id":"","url":"https://api.github.com/users/NSLS-II","html_url":"https://github.com/NSLS-II","followers_url":"https://api.github.com/users/NSLS-II/followers","following_url":"https://api.github.com/users/NSLS-II/following{/other_user}","gists_url":"https://api.github.com/users/NSLS-II/gists{/gist_id}","starred_url":"https://api.github.com/users/NSLS-II/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NSLS-II/subscriptions","organizations_url":"https://api.github.com/users/NSLS-II/orgs","repos_url":"https://api.github.com/users/NSLS-II/repos","events_url":"https://api.github.com/users/NSLS-II/events{/privacy}","received_events_url":"https://api.github.com/users/NSLS-II/received_events","type":"Organization","site_admin":false},"repo":{"id":20021829,"name":"metadatastore","full_name":"NSLS-II/metadatastore","owner":{"login":"NSLS-II","id":8700262,"avatar_url":"https://avatars.githubusercontent.com/u/8700262?v=3","gravatar_id":"","url":"https://api.github.com/users/NSLS-II","html_url":"https://github.com/NSLS-II","followers_url":"https://api.github.com/users/NSLS-II/followers","following_url":"https://api.github.com/users/NSLS-II/following{/other_user}","gists_url":"https://api.github.com/users/NSLS-II/gists{/gist_id}","starred_url":"https://api.github.com/users/NSLS-II/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NSLS-II/subscriptions","organizations_url":"https://api.github.com/users/NSLS-II/orgs","repos_url":"https://api.github.com/users/NSLS-II/repos","events_url":"https://api.github.com/users/NSLS-II/events{/privacy}","received_events_url":"https://api.github.com/users/NSLS-II/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NSLS-II/metadatastore","description":"NSLS2 Beamlines MetadataStore prototype implemented in MongoDB","fork":false,"url":"https://api.github.com/repos/NSLS-II/metadatastore","forks_url":"https://api.github.com/repos/NSLS-II/metadatastore/forks","keys_url":"https://api.github.com/repos/NSLS-II/metadatastore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NSLS-II/metadatastore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NSLS-II/metadatastore/teams","hooks_url":"https://api.github.com/repos/NSLS-II/metadatastore/hooks","issue_events_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues/events{/number}","events_url":"https://api.github.com/repos/NSLS-II/metadatastore/events","assignees_url":"https://api.github.com/repos/NSLS-II/metadatastore/assignees{/user}","branches_url":"https://api.github.com/repos/NSLS-II/metadatastore/branches{/branch}","tags_url":"https://api.github.com/repos/NSLS-II/metadatastore/tags","blobs_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/refs{/sha}","trees_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NSLS-II/metadatastore/statuses/{sha}","languages_url":"https://api.github.com/repos/NSLS-II/metadatastore/languages","stargazers_url":"https://api.github.com/repos/NSLS-II/metadatastore/stargazers","contributors_url":"https://api.github.com/repos/NSLS-II/metadatastore/contributors","subscribers_url":"https://api.github.com/repos/NSLS-II/metadatastore/subscribers","subscription_url":"https://api.github.com/repos/NSLS-II/metadatastore/subscription","commits_url":"https://api.github.com/repos/NSLS-II/metadatastore/commits{/sha}","git_commits_url":"https://api.github.com/repos/NSLS-II/metadatastore/git/commits{/sha}","comments_url":"https://api.github.com/repos/NSLS-II/metadatastore/comments{/number}","issue_comment_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues/comments{/number}","contents_url":"https://api.github.com/repos/NSLS-II/metadatastore/contents/{+path}","compare_url":"https://api.github.com/repos/NSLS-II/metadatastore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NSLS-II/metadatastore/merges","archive_url":"https://api.github.com/repos/NSLS-II/metadatastore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NSLS-II/metadatastore/downloads","issues_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues{/number}","pulls_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls{/number}","milestones_url":"https://api.github.com/repos/NSLS-II/metadatastore/milestones{/number}","notifications_url":"https://api.github.com/repos/NSLS-II/metadatastore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NSLS-II/metadatastore/labels{/name}","releases_url":"https://api.github.com/repos/NSLS-II/metadatastore/releases{/id}","created_at":"2014-05-21T13:17:44Z","updated_at":"2015-05-20T20:47:43Z","pushed_at":"2015-05-20T13:43:29Z","git_url":"git://github.com/NSLS-II/metadatastore.git","ssh_url":"git@github.com:NSLS-II/metadatastore.git","clone_url":"https://github.com/NSLS-II/metadatastore.git","svn_url":"https://github.com/NSLS-II/metadatastore","homepage":"","size":3280,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":13,"forks":6,"open_issues":13,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/142"},"html":{"href":"https://github.com/NSLS-II/metadatastore/pull/142"},"issue":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/issues/142"},"comments":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/statuses/bab2e81c0f690d268498f890f27131295b088141"}}}}