{"action":"created","comment":{"url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/comments/39090144","id":39090144,"diff_hunk":"@@ -23,10 +27,14 @@ def run(run_start_uid=None, sleep=0):\n     # Create Event Descriptors\n     data_keys1 = {'point_det': dict(source='PV:ES:PointDet', dtype='number')}\n     data_keys2 = {'Tsam': dict(source='PV:ES:Tsam', dtype='number')}\n-    ev_desc1_uid = insert_event_descriptor(run_start=run_start_uid,\n-                                           data_keys=data_keys1, time=common.get_time())\n-    ev_desc2_uid = insert_event_descriptor(run_start=run_start_uid,\n-                                           data_keys=data_keys2, time=common.get_time())\n+    ev_desc1_uid = insert_descriptor(run_start=run_start_uid,\n+                                           data_keys=data_keys1,","path":"metadatastore/examples/sample_data/temperature_ramp.py","position":28,"original_position":28,"commit_id":"442696aadc23b9a19f5265228e60262cf31b45a6","original_commit_id":"9bf8baec1a0a72d33ad6021bf90488e1163c94de","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":"too many spaces before data_keys and the next three lines. same for ev_desc_2_uid","created_at":"2015-09-09T20:14:13Z","updated_at":"2015-09-09T20:14:13Z","html_url":"https://github.com/NSLS-II/metadatastore/pull/167#discussion_r39090144","pull_request_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/167","_links":{"self":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/comments/39090144"},"html":{"href":"https://github.com/NSLS-II/metadatastore/pull/167#discussion_r39090144"},"pull_request":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/167"}}},"pull_request":{"url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/167","id":43823479,"html_url":"https://github.com/NSLS-II/metadatastore/pull/167","diff_url":"https://github.com/NSLS-II/metadatastore/pull/167.diff","patch_url":"https://github.com/NSLS-II/metadatastore/pull/167.patch","issue_url":"https://api.github.com/repos/NSLS-II/metadatastore/issues/167","number":167,"state":"open","locked":false,"title":"WIP: Prf bulk entry","user":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"body":"more violence to come","created_at":"2015-08-31T23:47:11Z","updated_at":"2015-09-09T20:14:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"046cadf0473add052183aa5ef2c53fb00afed8f0","assignee":null,"milestone":{"url":"https://api.github.com/repos/NSLS-II/metadatastore/milestones/2","html_url":"https://github.com/NSLS-II/metadatastore/milestones/Next%20point%20release","labels_url":"https://api.github.com/repos/NSLS-II/metadatastore/milestones/2/labels","id":1276317,"number":2,"title":"Next point release","description":"Drop dead date is October 7th (https://www.bnl.gov/ps/nsls2/opschedule.php)\r\n\r\nWe probably want all of these done by (at least) a week prior, September 30th.","creator":{"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},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2015-08-27T18:30:46Z","updated_at":"2015-09-03T18:46:42Z","due_on":"2015-09-30T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/167/commits","review_comments_url":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/167/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/167/comments","statuses_url":"https://api.github.com/repos/NSLS-II/metadatastore/statuses/442696aadc23b9a19f5265228e60262cf31b45a6","head":{"label":"tacaswell:prf_bulk_entry","ref":"prf_bulk_entry","sha":"442696aadc23b9a19f5265228e60262cf31b45a6","user":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"repo":{"id":22179373,"name":"metadataStore","full_name":"tacaswell/metadataStore","owner":{"login":"tacaswell","id":199813,"avatar_url":"https://avatars.githubusercontent.com/u/199813?v=3","gravatar_id":"","url":"https://api.github.com/users/tacaswell","html_url":"https://github.com/tacaswell","followers_url":"https://api.github.com/users/tacaswell/followers","following_url":"https://api.github.com/users/tacaswell/following{/other_user}","gists_url":"https://api.github.com/users/tacaswell/gists{/gist_id}","starred_url":"https://api.github.com/users/tacaswell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tacaswell/subscriptions","organizations_url":"https://api.github.com/users/tacaswell/orgs","repos_url":"https://api.github.com/users/tacaswell/repos","events_url":"https://api.github.com/users/tacaswell/events{/privacy}","received_events_url":"https://api.github.com/users/tacaswell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tacaswell/metadataStore","description":"NSLS2 Beamlines MetadataStore implemented in MongoDB","fork":true,"url":"https://api.github.com/repos/tacaswell/metadataStore","forks_url":"https://api.github.com/repos/tacaswell/metadataStore/forks","keys_url":"https://api.github.com/repos/tacaswell/metadataStore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tacaswell/metadataStore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tacaswell/metadataStore/teams","hooks_url":"https://api.github.com/repos/tacaswell/metadataStore/hooks","issue_events_url":"https://api.github.com/repos/tacaswell/metadataStore/issues/events{/number}","events_url":"https://api.github.com/repos/tacaswell/metadataStore/events","assignees_url":"https://api.github.com/repos/tacaswell/metadataStore/assignees{/user}","branches_url":"https://api.github.com/repos/tacaswell/metadataStore/branches{/branch}","tags_url":"https://api.github.com/repos/tacaswell/metadataStore/tags","blobs_url":"https://api.github.com/repos/tacaswell/metadataStore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tacaswell/metadataStore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tacaswell/metadataStore/git/refs{/sha}","trees_url":"https://api.github.com/repos/tacaswell/metadataStore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tacaswell/metadataStore/statuses/{sha}","languages_url":"https://api.github.com/repos/tacaswell/metadataStore/languages","stargazers_url":"https://api.github.com/repos/tacaswell/metadataStore/stargazers","contributors_url":"https://api.github.com/repos/tacaswell/metadataStore/contributors","subscribers_url":"https://api.github.com/repos/tacaswell/metadataStore/subscribers","subscription_url":"https://api.github.com/repos/tacaswell/metadataStore/subscription","commits_url":"https://api.github.com/repos/tacaswell/metadataStore/commits{/sha}","git_commits_url":"https://api.github.com/repos/tacaswell/metadataStore/git/commits{/sha}","comments_url":"https://api.github.com/repos/tacaswell/metadataStore/comments{/number}","issue_comment_url":"https://api.github.com/repos/tacaswell/metadataStore/issues/comments{/number}","contents_url":"https://api.github.com/repos/tacaswell/metadataStore/contents/{+path}","compare_url":"https://api.github.com/repos/tacaswell/metadataStore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tacaswell/metadataStore/merges","archive_url":"https://api.github.com/repos/tacaswell/metadataStore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tacaswell/metadataStore/downloads","issues_url":"https://api.github.com/repos/tacaswell/metadataStore/issues{/number}","pulls_url":"https://api.github.com/repos/tacaswell/metadataStore/pulls{/number}","milestones_url":"https://api.github.com/repos/tacaswell/metadataStore/milestones{/number}","notifications_url":"https://api.github.com/repos/tacaswell/metadataStore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tacaswell/metadataStore/labels{/name}","releases_url":"https://api.github.com/repos/tacaswell/metadataStore/releases{/id}","created_at":"2014-07-23T21:36:27Z","updated_at":"2015-04-06T20:45:11Z","pushed_at":"2015-09-09T20:07:36Z","git_url":"git://github.com/tacaswell/metadataStore.git","ssh_url":"git@github.com:tacaswell/metadataStore.git","clone_url":"https://github.com/tacaswell/metadataStore.git","svn_url":"https://github.com/tacaswell/metadataStore","homepage":"","size":966,"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":"ab34a2db4c1276cd4f6d0b16af2af8a7a7c3a9ce","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-09-09T20:07:37Z","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":3469,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":12,"forks":9,"open_issues":12,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/167"},"html":{"href":"https://github.com/NSLS-II/metadatastore/pull/167"},"issue":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/issues/167"},"comments":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/issues/167/comments"},"review_comments":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/pulls/167/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/167/commits"},"statuses":{"href":"https://api.github.com/repos/NSLS-II/metadatastore/statuses/442696aadc23b9a19f5265228e60262cf31b45a6"}}}}