{"action":"created","comment":{"url":"https://api.github.com/repos/pcdshub/hutch-python/pulls/comments/202879721","pull_request_review_id":137659961,"id":202879721,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjg3OTcyMQ==","diff_hunk":"@@ -222,6 +228,18 @@ def load_conf(conf, hutch_dir=None):\n         with safe_load('scan_pvs (disabled)'):\n             cache(scan_pvs=ScanVars('{}:SCAN'.format(hutch.upper()),\n                                     name='scan_pvs', RE=RE))\n+    # Elog\n+    if hutch is not None:\n+        with safe_load('elog'):\n+            # Use the fact if we we used the default_platform or not to decide\n+            # whether we are in a specialty station or not\n+            if default_platform:\n+                logger.debug(\"Using primary experiment ELog\")\n+                kwargs = dict()\n+            else:\n+                logger.info(\"Configuring ELog to post to secondary experiment\")\n+                kwargs = {'station': '1'}\n+            cache(elog=HutchELog.from_conf(hutch.upper(), **kwargs))","path":"hutch_python/load_conf.py","position":48,"original_position":48,"commit_id":"1e0e4b25b091838c2c1c3fe54a3d2ade8d136d79","original_commit_id":"1e0e4b25b091838c2c1c3fe54a3d2ade8d136d79","user":{"login":"teddyrendahl","id":25753048,"node_id":"MDQ6VXNlcjI1NzUzMDQ4","avatar_url":"https://avatars3.githubusercontent.com/u/25753048?v=4","gravatar_id":"","url":"https://api.github.com/users/teddyrendahl","html_url":"https://github.com/teddyrendahl","followers_url":"https://api.github.com/users/teddyrendahl/followers","following_url":"https://api.github.com/users/teddyrendahl/following{/other_user}","gists_url":"https://api.github.com/users/teddyrendahl/gists{/gist_id}","starred_url":"https://api.github.com/users/teddyrendahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teddyrendahl/subscriptions","organizations_url":"https://api.github.com/users/teddyrendahl/orgs","repos_url":"https://api.github.com/users/teddyrendahl/repos","events_url":"https://api.github.com/users/teddyrendahl/events{/privacy}","received_events_url":"https://api.github.com/users/teddyrendahl/received_events","type":"User","site_admin":false},"body":"What is this? ","created_at":"2018-07-17T02:39:58Z","updated_at":"2018-07-17T02:39:58Z","html_url":"https://github.com/pcdshub/hutch-python/pull/123#discussion_r202879721","pull_request_url":"https://api.github.com/repos/pcdshub/hutch-python/pulls/123","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/pcdshub/hutch-python/pulls/comments/202879721"},"html":{"href":"https://github.com/pcdshub/hutch-python/pull/123#discussion_r202879721"},"pull_request":{"href":"https://api.github.com/repos/pcdshub/hutch-python/pulls/123"}}},"pull_request":{"url":"https://api.github.com/repos/pcdshub/hutch-python/pulls/123","id":186123231,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg2MTIzMjMx","html_url":"https://github.com/pcdshub/hutch-python/pull/123","diff_url":"https://github.com/pcdshub/hutch-python/pull/123.diff","patch_url":"https://github.com/pcdshub/hutch-python/pull/123.patch","issue_url":"https://api.github.com/repos/pcdshub/hutch-python/issues/123","number":123,"state":"open","locked":false,"title":"ENH: Camviewer Cams","user":{"login":"ZLLentz","id":10647860,"node_id":"MDQ6VXNlcjEwNjQ3ODYw","avatar_url":"https://avatars3.githubusercontent.com/u/10647860?v=4","gravatar_id":"","url":"https://api.github.com/users/ZLLentz","html_url":"https://github.com/ZLLentz","followers_url":"https://api.github.com/users/ZLLentz/followers","following_url":"https://api.github.com/users/ZLLentz/following{/other_user}","gists_url":"https://api.github.com/users/ZLLentz/gists{/gist_id}","starred_url":"https://api.github.com/users/ZLLentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZLLentz/subscriptions","organizations_url":"https://api.github.com/users/ZLLentz/orgs","repos_url":"https://api.github.com/users/ZLLentz/repos","events_url":"https://api.github.com/users/ZLLentz/events{/privacy}","received_events_url":"https://api.github.com/users/ZLLentz/received_events","type":"User","site_admin":false},"body":"<!--- Provide a general summary of your changes in the Title above -->\r\n## Description\r\n<!--- Describe your changes in detail -->\r\nLoad camviewer.cfg file and create detector objects for the hutch\r\n\r\n## Motivation and Context\r\n<!--- Why is this change required? What problem does it solve? -->\r\n<!--- If it fixes an open issue, please link to the issue here. -->\r\ncloses #117 \r\n\r\n## How Has This Been Tested?\r\n<!--- Please describe in detail how you tested your changes. -->\r\n<!--- Include details of your testing environment, and the tests you ran to -->\r\n<!--- see how your change affects other areas of the code, etc. -->\r\nAdded tests\r\n\r\n## Where Has This Been Documented?\r\n<!--  Include where the changes made have been documented. -->\r\n<!--  This can simply be  a comment in the code or updating a docstring -->\r\nSmall note in docs and docstrings","created_at":"2018-05-04T23:15:08Z","updated_at":"2018-07-17T02:39:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56b472b0eb2078b69f546dfb610f95c3ecfff4b0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pcdshub/hutch-python/pulls/123/commits","review_comments_url":"https://api.github.com/repos/pcdshub/hutch-python/pulls/123/comments","review_comment_url":"https://api.github.com/repos/pcdshub/hutch-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pcdshub/hutch-python/issues/123/comments","statuses_url":"https://api.github.com/repos/pcdshub/hutch-python/statuses/1e0e4b25b091838c2c1c3fe54a3d2ade8d136d79","head":{"label":"ZLLentz:cam","ref":"cam","sha":"1e0e4b25b091838c2c1c3fe54a3d2ade8d136d79","user":{"login":"ZLLentz","id":10647860,"node_id":"MDQ6VXNlcjEwNjQ3ODYw","avatar_url":"https://avatars3.githubusercontent.com/u/10647860?v=4","gravatar_id":"","url":"https://api.github.com/users/ZLLentz","html_url":"https://github.com/ZLLentz","followers_url":"https://api.github.com/users/ZLLentz/followers","following_url":"https://api.github.com/users/ZLLentz/following{/other_user}","gists_url":"https://api.github.com/users/ZLLentz/gists{/gist_id}","starred_url":"https://api.github.com/users/ZLLentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZLLentz/subscriptions","organizations_url":"https://api.github.com/users/ZLLentz/orgs","repos_url":"https://api.github.com/users/ZLLentz/repos","events_url":"https://api.github.com/users/ZLLentz/events{/privacy}","received_events_url":"https://api.github.com/users/ZLLentz/received_events","type":"User","site_admin":false},"repo":{"id":113619289,"node_id":"MDEwOlJlcG9zaXRvcnkxMTM2MTkyODk=","name":"hutch-python","full_name":"ZLLentz/hutch-python","owner":{"login":"ZLLentz","id":10647860,"node_id":"MDQ6VXNlcjEwNjQ3ODYw","avatar_url":"https://avatars3.githubusercontent.com/u/10647860?v=4","gravatar_id":"","url":"https://api.github.com/users/ZLLentz","html_url":"https://github.com/ZLLentz","followers_url":"https://api.github.com/users/ZLLentz/followers","following_url":"https://api.github.com/users/ZLLentz/following{/other_user}","gists_url":"https://api.github.com/users/ZLLentz/gists{/gist_id}","starred_url":"https://api.github.com/users/ZLLentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZLLentz/subscriptions","organizations_url":"https://api.github.com/users/ZLLentz/orgs","repos_url":"https://api.github.com/users/ZLLentz/repos","events_url":"https://api.github.com/users/ZLLentz/events{/privacy}","received_events_url":"https://api.github.com/users/ZLLentz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ZLLentz/hutch-python","description":"Laucher and Config Reader for LCLS Python 3 Interactive IPython Sessions","fork":true,"url":"https://api.github.com/repos/ZLLentz/hutch-python","forks_url":"https://api.github.com/repos/ZLLentz/hutch-python/forks","keys_url":"https://api.github.com/repos/ZLLentz/hutch-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZLLentz/hutch-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZLLentz/hutch-python/teams","hooks_url":"https://api.github.com/repos/ZLLentz/hutch-python/hooks","issue_events_url":"https://api.github.com/repos/ZLLentz/hutch-python/issues/events{/number}","events_url":"https://api.github.com/repos/ZLLentz/hutch-python/events","assignees_url":"https://api.github.com/repos/ZLLentz/hutch-python/assignees{/user}","branches_url":"https://api.github.com/repos/ZLLentz/hutch-python/branches{/branch}","tags_url":"https://api.github.com/repos/ZLLentz/hutch-python/tags","blobs_url":"https://api.github.com/repos/ZLLentz/hutch-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZLLentz/hutch-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZLLentz/hutch-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZLLentz/hutch-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZLLentz/hutch-python/statuses/{sha}","languages_url":"https://api.github.com/repos/ZLLentz/hutch-python/languages","stargazers_url":"https://api.github.com/repos/ZLLentz/hutch-python/stargazers","contributors_url":"https://api.github.com/repos/ZLLentz/hutch-python/contributors","subscribers_url":"https://api.github.com/repos/ZLLentz/hutch-python/subscribers","subscription_url":"https://api.github.com/repos/ZLLentz/hutch-python/subscription","commits_url":"https://api.github.com/repos/ZLLentz/hutch-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZLLentz/hutch-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZLLentz/hutch-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZLLentz/hutch-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZLLentz/hutch-python/contents/{+path}","compare_url":"https://api.github.com/repos/ZLLentz/hutch-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZLLentz/hutch-python/merges","archive_url":"https://api.github.com/repos/ZLLentz/hutch-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZLLentz/hutch-python/downloads","issues_url":"https://api.github.com/repos/ZLLentz/hutch-python/issues{/number}","pulls_url":"https://api.github.com/repos/ZLLentz/hutch-python/pulls{/number}","milestones_url":"https://api.github.com/repos/ZLLentz/hutch-python/milestones{/number}","notifications_url":"https://api.github.com/repos/ZLLentz/hutch-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZLLentz/hutch-python/labels{/name}","releases_url":"https://api.github.com/repos/ZLLentz/hutch-python/releases{/id}","deployments_url":"https://api.github.com/repos/ZLLentz/hutch-python/deployments","created_at":"2017-12-08T21:34:16Z","updated_at":"2018-07-05T18:04:32Z","pushed_at":"2018-07-16T22:12:27Z","git_url":"git://github.com/ZLLentz/hutch-python.git","ssh_url":"git@github.com:ZLLentz/hutch-python.git","clone_url":"https://github.com/ZLLentz/hutch-python.git","svn_url":"https://github.com/ZLLentz/hutch-python","homepage":null,"size":524,"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":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pcdshub:master","ref":"master","sha":"4259c99452c5ff98318df5abf64c166f6e3f3706","user":{"login":"pcdshub","id":31903189,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTAzMTg5","avatar_url":"https://avatars1.githubusercontent.com/u/31903189?v=4","gravatar_id":"","url":"https://api.github.com/users/pcdshub","html_url":"https://github.com/pcdshub","followers_url":"https://api.github.com/users/pcdshub/followers","following_url":"https://api.github.com/users/pcdshub/following{/other_user}","gists_url":"https://api.github.com/users/pcdshub/gists{/gist_id}","starred_url":"https://api.github.com/users/pcdshub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcdshub/subscriptions","organizations_url":"https://api.github.com/users/pcdshub/orgs","repos_url":"https://api.github.com/users/pcdshub/repos","events_url":"https://api.github.com/users/pcdshub/events{/privacy}","received_events_url":"https://api.github.com/users/pcdshub/received_events","type":"Organization","site_admin":false},"repo":{"id":113611605,"node_id":"MDEwOlJlcG9zaXRvcnkxMTM2MTE2MDU=","name":"hutch-python","full_name":"pcdshub/hutch-python","owner":{"login":"pcdshub","id":31903189,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxOTAzMTg5","avatar_url":"https://avatars1.githubusercontent.com/u/31903189?v=4","gravatar_id":"","url":"https://api.github.com/users/pcdshub","html_url":"https://github.com/pcdshub","followers_url":"https://api.github.com/users/pcdshub/followers","following_url":"https://api.github.com/users/pcdshub/following{/other_user}","gists_url":"https://api.github.com/users/pcdshub/gists{/gist_id}","starred_url":"https://api.github.com/users/pcdshub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcdshub/subscriptions","organizations_url":"https://api.github.com/users/pcdshub/orgs","repos_url":"https://api.github.com/users/pcdshub/repos","events_url":"https://api.github.com/users/pcdshub/events{/privacy}","received_events_url":"https://api.github.com/users/pcdshub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pcdshub/hutch-python","description":"Launcher and config reader for LCLS interactive IPython sessions","fork":false,"url":"https://api.github.com/repos/pcdshub/hutch-python","forks_url":"https://api.github.com/repos/pcdshub/hutch-python/forks","keys_url":"https://api.github.com/repos/pcdshub/hutch-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pcdshub/hutch-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pcdshub/hutch-python/teams","hooks_url":"https://api.github.com/repos/pcdshub/hutch-python/hooks","issue_events_url":"https://api.github.com/repos/pcdshub/hutch-python/issues/events{/number}","events_url":"https://api.github.com/repos/pcdshub/hutch-python/events","assignees_url":"https://api.github.com/repos/pcdshub/hutch-python/assignees{/user}","branches_url":"https://api.github.com/repos/pcdshub/hutch-python/branches{/branch}","tags_url":"https://api.github.com/repos/pcdshub/hutch-python/tags","blobs_url":"https://api.github.com/repos/pcdshub/hutch-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pcdshub/hutch-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pcdshub/hutch-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/pcdshub/hutch-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pcdshub/hutch-python/statuses/{sha}","languages_url":"https://api.github.com/repos/pcdshub/hutch-python/languages","stargazers_url":"https://api.github.com/repos/pcdshub/hutch-python/stargazers","contributors_url":"https://api.github.com/repos/pcdshub/hutch-python/contributors","subscribers_url":"https://api.github.com/repos/pcdshub/hutch-python/subscribers","subscription_url":"https://api.github.com/repos/pcdshub/hutch-python/subscription","commits_url":"https://api.github.com/repos/pcdshub/hutch-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/pcdshub/hutch-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/pcdshub/hutch-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/pcdshub/hutch-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/pcdshub/hutch-python/contents/{+path}","compare_url":"https://api.github.com/repos/pcdshub/hutch-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pcdshub/hutch-python/merges","archive_url":"https://api.github.com/repos/pcdshub/hutch-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pcdshub/hutch-python/downloads","issues_url":"https://api.github.com/repos/pcdshub/hutch-python/issues{/number}","pulls_url":"https://api.github.com/repos/pcdshub/hutch-python/pulls{/number}","milestones_url":"https://api.github.com/repos/pcdshub/hutch-python/milestones{/number}","notifications_url":"https://api.github.com/repos/pcdshub/hutch-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pcdshub/hutch-python/labels{/name}","releases_url":"https://api.github.com/repos/pcdshub/hutch-python/releases{/id}","deployments_url":"https://api.github.com/repos/pcdshub/hutch-python/deployments","created_at":"2017-12-08T19:49:46Z","updated_at":"2018-07-12T22:47:36Z","pushed_at":"2018-07-16T22:12:28Z","git_url":"git://github.com/pcdshub/hutch-python.git","ssh_url":"git@github.com:pcdshub/hutch-python.git","clone_url":"https://github.com/pcdshub/hutch-python.git","svn_url":"https://github.com/pcdshub/hutch-python","homepage":"https://pcdshub.github.io/hutch-python/","size":8429,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4,"open_issues":14,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pcdshub/hutch-python/pulls/123"},"html":{"href":"https://github.com/pcdshub/hutch-python/pull/123"},"issue":{"href":"https://api.github.com/repos/pcdshub/hutch-python/issues/123"},"comments":{"href":"https://api.github.com/repos/pcdshub/hutch-python/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/pcdshub/hutch-python/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/pcdshub/hutch-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pcdshub/hutch-python/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/pcdshub/hutch-python/statuses/1e0e4b25b091838c2c1c3fe54a3d2ade8d136d79"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"teddyrendahl"}}